Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated the pyproject.toml file with better cibuildwheel flags
Browse files Browse the repository at this point in the history
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Aug 19, 2023
1 parent dc3fe0f commit 82320fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ build-backend = "setuptools.build_meta"
test-command = "pytest {package}/tests"
test-requires = ['pytest','cython']
test-skip = "cp312-*"
skip = "pp*"
skip = ["pp* *i686 *-manylinux_i686 *_ppc64le *_s390x *-musllinux* *-win32"]
before-build = "python3 -m pip install -U pip"

[tool.cibuildwheel.linux]
environment = {SKBUILD_CONFIGURE_OPTIONS="-DBUILD_SHARED_LIBS=OFF", FFLAGS="${FFLAGS} -fPIC", CFLAGS="${CFLAGS} -fPIC", LDFLAGS="${LDFLAGS} -fPIE", LIBS="-lgomp"}
before-all = [
"if command -v yum &> /dev/null; then GET=yum; else GET=apt-get; fi && ${GET} install wget m4 doxygen -y",
"yum install wget m4 doxygen -y || apt-get install wget m4 doxygen -y",
"buildscripts/build_dependencies.sh -d /_dependencies -p /usr/local",
]

Expand All @@ -28,4 +29,5 @@ environment = {GCCVER="13",PATH="${TMPDIR}/bin:${PATH}", LD_LIBRARY_PATH="${TMPD
before-all = [
"buildscripts/build_dependencies.sh -d ${TMPDIR} -p ${TMPDIR} -m ${MACOSX_DEPLOYMENT_TARGET}"
]


0 comments on commit 82320fb

Please sign in to comment.