diff --git a/CMakeLists.txt b/CMakeLists.txt index 468471b..a3ad6ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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}) diff --git a/README.md b/README.md index 315e9c4..6386227 100644 --- a/README.md +++ b/README.md @@ -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 ``` \ No newline at end of file