Skip to content

Commit

Permalink
Enable support for Ubuntu 24.04 (#106)
Browse files Browse the repository at this point in the history
* Build Updates for Ubuntu24.04 (#105)

* skip warning errors

* skip warning errors

* Change compiler options

* Change compiler options

---------

Co-authored-by: Anant Sharma <[email protected]>
  • Loading branch information
mc-nv and nv-anants committed Nov 22, 2024
1 parent 343e7e4 commit 24388cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ target_compile_options(
triton-backend-utils
PRIVATE
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wextra -Wno-unused-parameter -Werror>
-Wall -Wextra -Wno-unused-parameter>
$<$<CXX_COMPILER_ID:MSVC>:/Wall /D_WIN32_WINNT=0x0A00 /EHsc /Zc:preprocessor>
)

Expand Down
2 changes: 1 addition & 1 deletion examples/backends/bls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ target_compile_features(triton-bls-backend PRIVATE cxx_std_${TRITON_MIN_CXX_STAN
target_compile_options(
triton-bls-backend PRIVATE
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wextra -Wno-unused-parameter -Werror>
-Wall -Wextra -Wno-unused-parameter -Wno-error=maybe-uninitialized>
)

target_link_libraries(
Expand Down

0 comments on commit 24388cd

Please sign in to comment.