Skip to content

Commit

Permalink
remove py3.12. update cxxflags for build
Browse files Browse the repository at this point in the history
  • Loading branch information
fredboudon committed Jan 23, 2024
1 parent 65faf86 commit 0a323ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/conda-package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest , macos-latest , windows-latest]
python-minor-version: [8, 9, 10, 11, 12]
python-minor-version: [8, 9, 10, 11]
isMaster:
- ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/dev') }}
exclude:
Expand Down
8 changes: 8 additions & 0 deletions conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ if [ "$(uname)" == "Linux" ];
then
export QMAKESPEC=linux-g++
mv pyproject-linux.toml pyproject.toml

export PATH=${PWD}:${PATH}

SYSROOT_FLAGS="-L ${BUILD_PREFIX}/${HOST}/sysroot/usr/lib64 -L ${BUILD_PREFIX}/${HOST}/sysroot/usr/lib"
export CFLAGS="$SYSROOT_FLAGS $CFLAGS"
export CXXFLAGS="$SYSROOT_FLAGS $CXXFLAGS"
export LDFLAGS="$SYSROOT_FLAGS $LDFLAGS"

fi

alias qmake='${CONDA_PREFIX}/bin/qmake'
Expand Down

0 comments on commit 0a323ee

Please sign in to comment.