Draft
Conversation
Replace build.py / ExternalProject fetches with a CMake-native + Conan 2 workflow. Every dependency is resolved via Conan (private NVIDIA Artifactory remote or Conan Center); sibling repos are consumed as local add_subdirectory checkouts. - CMakeLists.txt: guard FetchContent/ExternalProject blocks behind TRITON_SKIP_THIRD_PARTY_FETCH; add TRITON_CORE_HEADERS_ONLY path - src/CMakeLists.txt: absolute ldscript path for Ninja compatibility; cnmem target guard (cnmem::cnmem imported target vs raw lib fallback) - src/test/CMakeLists.txt: add re2::re2 to test link libraries - CMakePresets.json / cmake/CMakePresets.json: configure + build presets for Release and Debug on Linux x86_64 and aarch64 - conanfile.py: Conan package descriptor for triton-core - profiles/: GCC 13 host/build profiles (release + debug) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Apr 13, 2026
build: replace build.py with Conan 2 + CMakePresets build system
triton-inference-server/server#8734
Draft
…gets
- Set CMAKE_CUDA_RUNTIME_LIBRARY=Shared after find_package(CUDAToolkit)
so CUDA::cudart resolves to libcudart.so (dynamic), not the static
variant.
- Replace legacy ${CNMEM_PATH}/include + find_library(CNMEM_LIBRARY)
with cnmem::cnmem imported target in all GPU test targets
(memory_test, pinned_memory_manager_test, response_cache_test,
metrics_api_test, input_byte_size_test).
- Add rapidjson and re2::re2 to response_cache_test which compiles
filesystem sources directly and needs those headers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
triton-inference-server/backend#123
triton-inference-server/common#154
triton-inference-server/server#8734
triton-inference-server/third_party#74
Description
Introduces Conan 2 package manager and CMakePresets-based build system for dependency management in the core repository, as part of the broader Triton CMake/Conan migration (TRI-122).
Changes
Affected Files