File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,14 @@ jobs:
7676 with :
7777 submodules : recursive
7878
79- - name : Setup Python
79+ - name : Initialize vcpkg
80+ run : |
81+ git clone https://github.com/Microsoft/vcpkg.git vendor/vcpkg
82+
83+ - name : Setup Python ${{ matrix.python-version }}
8084 uses : actions/setup-python@v4
8185 with :
82- python-version : ${{ env.PYTHON_VER }}
86+ python-version : ${{ matrix.python-version }}
8387
8488 - name : Create virtual environment
8589 run : |
@@ -112,7 +116,7 @@ jobs:
112116 CMAKE_ARGS : >
113117 -DCMAKE_TOOLCHAIN_FILE=./vendor/vcpkg/scripts/buildsystems/vcpkg.cmake
114118 -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }}
115- -DPYTHON_VER=${{ env.PYTHON_VER }}
119+ -DPYTHON_VER=${{ matrix.python-version }}
116120 -DSHARED_SUFFIX=.cpython-311-darwin.so # Update to match Python version
117121 run : |
118122 source .venv/bin/activate
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def build_cmake_extension(self):
5757 "-DCMAKE_TOOLCHAIN_FILE=./vendor/vcpkg/scripts/buildsystems/vcpkg.cmake" ,
5858 f"-DPYTHON_VER={ tmp_python_version } " ,
5959 f"-DSHARED_SUFFIX={ tmp_cmd_suffix } " ,
60- "-DCMAKE_OSX_ARCHITECTURES=x86_64"
60+ # "-DCMAKE_OSX_ARCHITECTURES=x86_64"
6161 ]
6262
6363 # Run CMake to configure and build the extension
You can’t perform that action at this time.
0 commit comments