Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
b58e531
Update distribution.yml
ahnitz Apr 25, 2024
652b0f3
Update build.yml
ahnitz Apr 25, 2024
671de45
Update distribution.yml
ahnitz Apr 25, 2024
8729ee7
Update build.yml
ahnitz Apr 25, 2024
ec655f1
Update distribution.yml
ahnitz Apr 25, 2024
d764b9a
Try this
spxiwh Apr 26, 2024
c75b102
Update linux image
spxiwh Apr 26, 2024
f3ca8d1
Update conda build thingy
spxiwh Apr 26, 2024
91c8ce7
Update distribution.yml
spxiwh Jun 10, 2021
c79937f
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
29811f8
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
927d7f3
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
afe4ea0
Update distribution.yml
spxiwh Jun 10, 2021
80b5baf
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
1ed3425
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
50a132e
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
eaf34d6
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
55354de
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
608511c
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
82e4d8d
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
74ed56c
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
aa06d47
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
3fb3396
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
d92fc87
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
92e8f00
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
a86759b
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
b2de190
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
8a6dbcd
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
33a2330
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
1da4c96
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
04ed16e
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
a2507c3
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
fe8ed6b
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
272075a
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
6ad7537
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
f476937
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
32c37cf
Update cibuildwheel_prep.sh
spxiwh Jun 10, 2021
9cf03e5
Update setup.py
spxiwh Jun 11, 2021
77c4c72
Update setup.py
spxiwh Jun 11, 2021
fa599cc
Update cibuildwheel_prep.sh
spxiwh Jun 11, 2021
75bc70e
Update cibuildwheel_prep.sh
spxiwh Jun 11, 2021
8ef2ae2
Update cibuildwheel_prep.sh
spxiwh Jun 11, 2021
9867a08
Update setup.py
spxiwh Jun 11, 2021
000cd6b
Update setup.py
spxiwh Jun 11, 2021
d8596f9
Update setup.py
spxiwh Jun 11, 2021
ba4b380
Update setup.py
spxiwh Jun 11, 2021
d9aa488
Update setup.py
spxiwh Jun 11, 2021
c1ab0e5
Update distribution.yml
spxiwh Jun 11, 2021
5f8a5e1
Update distribution.yml
spxiwh Jun 14, 2021
6d69eb6
Update setup.py
spxiwh Jun 14, 2021
7f5178f
Update setup.py
spxiwh Jun 14, 2021
50ab586
Update cibuildwheel_prep.sh
spxiwh Jun 14, 2021
b71d248
Update macos as 10.X no longer there
spxiwh Apr 26, 2024
a7e70d1
Try this
spxiwh Apr 26, 2024
bf8bf3e
See if old delocate is the issue?
spxiwh Apr 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
key: ${{ runner.os }}-conda-${{ matrix.python-version}}-${{ env.CACHE_NUMBER }}

- name: Configure conda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
channels: conda-forge
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
strategy:
matrix:
# Needs some work to make wheels also on macos
os: [ubuntu-20.04]
os: [macos-12]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==1.9.0
run: python -m pip install cibuildwheel==2.17.0

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -27,10 +27,10 @@ jobs:
# pip is hard to link against. This symlinks it into /usr/lib so
# that it can be found.
CIBW_BEFORE_BUILD: bash tools/cibuildwheel_prep.sh
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-*
CIBW_BUILD: cp36-manylinux* cp37-manylinux* cp38-manylinux* cp39-manylinux* cp310-manylinux* cp311-manylinux* cp312-manylinux* cp36-macosx* cp37-macosx* cp39-macosx*
CIBW_ARCHS: auto64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl
Expand Down
27 changes: 24 additions & 3 deletions tools/cibuildwheel_prep.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
set -e
# This is used in github actions when building the wheels for distribution.
# Do not run this outside of that!
# DO NOT RUN THIS SCRIPT OUTSIDE OF THAT!!!
pip install lalsuite
cp `python -c 'import sys; print (sys.path[-1])'`/lalsuite.libs/lib*so* /usr/lib
ln -sf `python -c 'import sys; print (sys.path[-1])'`/lalsuite.libs/liblal-*so* /usr/lib/liblal.so
# DEBUG COMMAND BELOW. THIS MUST BE REMOVED
#pip install --upgrade git+https://github.com/spxiwh/delocate.git

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# Needed for linux
cp `python -c 'import sys; print (sys.path[-1])'`/lalsuite.libs/lib*so* /usr/lib
ln -sf `python -c 'import sys; print (sys.path[-1])'`/lalsuite.*libs/liblal-*so* /usr/lib/liblal.so
elif [[ "$OSTYPE" == "darwin"* ]]; then
# Mac names are quite different
#sudo conda install -c conda-forge liblal
#conda init
#source ~/.bashrc
#conda activate root
#echo "conda activate root" >> ~/.bashrc
#echo `python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/
#sudo echo `python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/
#sudo ls `python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/
#export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:`python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/
#echo "export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:`python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/" >> ~/.bashrc
sudo cp `python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/lib*dylib /usr/local/lib
sudo cp `python -c 'import sys; print (sys.path[-1])'`/lalsuite.dylibs/liblal.*.dylib /usr/local/lib/liblal.dylib

fi # Don't consider anything else at present