File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ jobs:
4040 - name : Build wheels
4141 uses : pypa/cibuildwheel@v3.0.1
4242 env :
43- CIBW_BEFORE_BUILD_LINUX : " chmod +x {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh && {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh "
43+ CIBW_PROJECT_REQUIRES_PYTHON : " >=3.8 "
4444 with :
45- package-dir : .
46- output-dir : wheelhouse
47- config-file : " {package}/pyproject.toml"
45+ package-dir : .
46+ output-dir : wheelhouse
47+ config-file : " {package}/pyproject.toml"
4848
4949 - name : Upload distributions
5050 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.18.0)
22
33project (TensorArray_Python VERSION 0.1.0 LANGUAGES C CXX)
44
5+ find_package (Python COMPONENTS Interpreter Development)
6+ if (${Python_FOUND} )
7+
58include (CTest)
69enable_testing ()
710
@@ -22,3 +25,5 @@ target_link_libraries(tensor2 PUBLIC TensorArray::Core)
2225set (CPACK_PROJECT_NAME ${PROJECT_NAME} )
2326set (CPACK_PROJECT_VERSION ${PROJECT_VERSION} )
2427include (CPack)
28+
29+ endif ()
Original file line number Diff line number Diff line change @@ -5,3 +5,13 @@ requires = [
55 " cmake"
66]
77build-backend = " setuptools.build_meta"
8+
9+ [tools .cibuildwheel ]
10+ xbuild-tools = [" cmake" , " ninja" ]
11+
12+ [tools .cibuildwheel .linux ]
13+ before-all = [
14+ " chmod +x {package}/tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-ubuntu.sh" ,
15+ " {package}/tensor-array-repo/Tensor-Array/scripts/actions --cuda=12.9 --temp=/tmp/cuda-temp"
16+ ]
17+ xbuild-tools = [" cmake" , " ninja" ]
You can’t perform that action at this time.
0 commit comments