Skip to content

Commit

Permalink
Removed llvm 10 starting to add windows build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dword64 committed Nov 4, 2024
1 parent 29cb80d commit 091dc98
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ CMakeLists.txt.user
/.cache
/.vscode

# clion
.idea*/

# output files
output.ll
output_finalnoopt.ll
16 changes: 0 additions & 16 deletions cmake/FindLLVM-Wrapper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,6 @@ else()
target_link_libraries(LLVM-Wrapper INTERFACE ${LLVM_AVAILABLE_LIBS})
endif()

# In LLVM 10 (and potentially below) there is a full path to diaguids.lib embedded in the installation
if(WIN32 AND TARGET LLVMDebugInfoPDB)
get_target_property(LLVMDebugInfoPDB_LIBS LLVMDebugInfoPDB INTERFACE_LINK_LIBRARIES)
foreach(LLVMDebugInfoPDB_LIB ${LLVMDebugInfoPDB_LIBS})
if(LLVMDebugInfoPDB_LIB MATCHES "diaguids.lib")
list(REMOVE_ITEM LLVMDebugInfoPDB_LIBS "${LLVMDebugInfoPDB_LIB}")
list(APPEND LLVMDebugInfoPDB_LIBS "diaguids.lib")
break()
endif()
endforeach()
set_target_properties(LLVMDebugInfoPDB PROPERTIES
INTERFACE_LINK_LIBRARIES "${LLVMDebugInfoPDB_LIBS}"
)
unset(LLVMDebugInfoPDB_LIBS)
endif()

set(CMAKE_FOLDER "${CMAKE_FOLDER_LLVM}")
unset(CMAKE_FOLDER_LLVM)

Expand Down
5 changes: 5 additions & 0 deletions docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ docker run --rm -v %cd%:/data mergen target.exe 0x123456789
docker run --rm -v $PWD:/data mergen target.exe 0x123456789
```


# Windows

soon...

0 comments on commit 091dc98

Please sign in to comment.