Skip to content
Snippets Groups Projects

Draft: Compile liblalsimulation against libpython3.X.a for manylinux wheels

1 unresolved thread
1 file
+ 9
1
Compare changes
  • Side-by-side
  • Inline
+ 9
1
@@ -1160,7 +1160,15 @@ lalapps:conda:
extends:
- .wheel
script:
- export PYTHON="/opt/python/$(echo ${CI_JOB_NAME} | sed 's/.*:\(.*\)-manylinux.*/\1/')/bin/python"
# get python tag from job name
- export PYTHON_ABI_TAG="$(echo ${CI_JOB_NAME} | sed 's/.*:\(.*\)-manylinux.*/\1/')"
# get prefix of manylinux Python and find python exe
- export PYTHON_PREFIX="/opt/python/${PYTHON_ABI_TAG}"
- export PYTHON="${PYTHON_PREFIX}/bin/python"
# add Python pkgconfig paths to enable discovery of python-3.X-embed
- export PKG_CONFIG_PATH="${PYTHON_PREFIX}/lib/pkgconfig:${PYTHON_PREFIX}/lib64/pkgconfig:${PKG_CONFIG_PATH}"
# unpack static python libraries (to enable linking liblalsimulation against them)
- (cd /opt/_internal && tar -xJf static-libs-for-embedding-only.tar.xz)
# Build wheel
- ./00boot
- SSE="solar_system_ephemerides/ephemerides"
Loading