Skip to content

Commit

Permalink
Fix build race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mikex86 committed Sep 4, 2024
1 parent 989b26b commit 701f892
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(tritonc CXX)

set(CMAKE_CXX_STANDARD 17)

set(TRITON_CODEGEN_BACKENDS "nvidia")
set(TRITON_CODEGEN_BACKENDS "nvidia" CACHE STRING "Enable different codegen backends" FORCE)
set(TRITON_BUILD_PYTHON_MODULE ON)
set(TRITON_BUILD_PROTON OFF)
set(PYTHON_INCLUDE_DIRS ON)
Expand Down Expand Up @@ -70,9 +70,9 @@ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
LLVMPowerPCAsmParser
LLVMPowerPCCodeGen
)
else ()
else()
message(FATAL_ERROR "LLVM codegen/ASM parser libs: This HW architecture (${CMAKE_SYSTEM_PROCESSOR}) is not configured in cmake lib dependencies.")
endif ()
endif()

target_link_libraries(tritonc PRIVATE ${TRITON_LIBRARIES})

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ cd tritonc
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --parallel 16
cmake --build . --target tritonc -j 14
./tritonc --help
```

0 comments on commit 701f892

Please sign in to comment.