Skip to content

Commit

Permalink
Presumably due to upstream LLVM header reorganisation
Browse files Browse the repository at this point in the history
  • Loading branch information
olupton committed Jul 3, 2024
1 parent c2f4f56 commit 6a1363d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/container/Dockerfile.triton
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ sed -i -e 's|-Werror||g' CMakeLists.txt
sed -i -e 's|\(LLVMAMDGPU.*\)|# \1|g' CMakeLists.txt
# Do not build tests
sed -i -e 's|^\s*add_subdirectory(unittest)|# unit tests disabled|' CMakeLists.txt
# Avoid error due to forward declaration of Module
sed -i -e '/#include "llvm\/IR\/IRBuilder.h"/a #include "llvm/IR/Module.h"' test/lib/Instrumentation/GPUHello.cpp
# Google has patches that mess with include paths in source files
sed -i -e '/include_directories(${PROJECT_SOURCE_DIR}\/third_party)/a include_directories(${PROJECT_SOURCE_DIR}/third_party/amd/include)' CMakeLists.txt
sed -i -e '/include_directories(${PROJECT_BINARY_DIR}\/third_party)/a include_directories(${PROJECT_BINARY_DIR}/third_party/amd/include)' CMakeLists.txt
Expand Down

0 comments on commit 6a1363d

Please sign in to comment.