Skip to content

Commit

Permalink
[Build] Don't require Development.Embed python component (triton-lang…
Browse files Browse the repository at this point in the history
…#5287)

This component is missing from the wheel building image, so we need to
make the requirement more specific.

https://github.com/triton-lang/triton/actions/runs/12081047335/job/33689420657#step:6:332
  • Loading branch information
peterbell10 authored Nov 29, 2024
1 parent cc89dac commit 27e11ab
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 @@ -178,7 +178,7 @@ if(TRITON_BUILD_PYTHON_MODULE)
include_directories(${PYTHON_SRC_PATH})

# Python Interpreter is used to run lit tests
find_package(Python3 REQUIRED COMPONENTS Development Interpreter)
find_package(Python3 REQUIRED COMPONENTS Development.Module Interpreter)
find_package(pybind11 CONFIG REQUIRED HINTS "${Python3_SITELIB}")

if (DEFINED TRITON_PLUGIN_DIRS)
Expand Down
2 changes: 1 addition & 1 deletion third_party/proton/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ include_directories(${JSON_INCLUDE_DIR})
include_directories(${PROTON_SRC_DIR}/include)
include_directories(${PROTON_EXTERN_DIR})

find_package(Python3 REQUIRED Interpreter Development)
find_package(Python3 REQUIRED Interpreter Development.Module)
find_package(pybind11 CONFIG REQUIRED HINTS "${Python3_SITELIB}")

# Check if the platform is MacOS
Expand Down

0 comments on commit 27e11ab

Please sign in to comment.