Skip to content

Commit ce46b95

Browse files
mc-nvnv-anants
andauthored
Enable support for Ubuntu 24.04 (#409) (#415)
* Build Updates for Ubuntu24.04 (#408) * update json dir path * remove werror arg * Revert "remove werror arg" This reverts commit 3fd957a. * skip warning error * Update python version --------- Co-authored-by: Anant Sharma <[email protected]>
1 parent 3423591 commit ce46b95

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ if(NOT TRITON_CORE_HEADERS_ONLY)
309309
-Dc-ares_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/c-ares/${LIB_DIR}/cmake/c-ares
310310
-Dabsl_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/absl/${LIB_DIR}/cmake/absl
311311
-Dre2_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/re2/${LIB_DIR}/cmake/re2
312-
-Dnlohmann_json_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/nlohmann_json/${LIB_DIR}/cmake/nlohmann_json
312+
-Dnlohmann_json_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/nlohmann_json/share/cmake/nlohmann_json
313313
-Dprometheus-cpp_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/prometheus-cpp/${LIB_DIR}/cmake/prometheus-cpp
314314
-Dgoogle_cloud_cpp_storage_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/google-cloud-cpp/${LIB_DIR}/cmake/google_cloud_cpp_storage
315315
-Dgoogle_cloud_cpp_rest_internal_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/google-cloud-cpp/${LIB_DIR}/cmake/google_cloud_cpp_rest_internal

python/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def get_tag(self):
9797
"License :: OSI Approved :: BSD License",
9898
"Programming Language :: Python :: 3",
9999
"Programming Language :: Python :: 3.10",
100+
"Programming Language :: Python :: 3.12",
100101
"Environment :: Console",
101102
"Natural Language :: English",
102103
"Operating System :: OS Independent",

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ else()
257257
target_compile_options(
258258
triton-core
259259
PRIVATE
260-
-Wall -Wextra -Wno-unused-parameter -Wno-deprecated-declarations -Werror
260+
-Wall -Wextra -Wno-unused-parameter -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Werror
261261
)
262262
set_target_properties(
263263
triton-core

0 commit comments

Comments
 (0)