Skip to content

Commit

Permalink
build shared libpython
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Mar 14, 2024
1 parent 9f3b647 commit 3bcb4a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install tools
run: |
brew install gpatch
- name: Build libffi
if: ${{ startsWith(matrix.python-version, '3.12') }}
run: |
Expand All @@ -52,6 +52,7 @@ jobs:
mkdir -p python-build && mkdir -p python-install
cd python-build
CFLAGS="-I${{ github.workspace }}/deps/include" cmake \
-DBUILD_LIBPYTHON_SHARED=ON \
${{ inputs.verbose && '--trace-expand --debug-find' || '' }} \
-DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}/python-install \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${{ env.MACOSX_DEPLOYMENT_TARGET }} \
Expand Down

0 comments on commit 3bcb4a9

Please sign in to comment.