Skip to content

ENH: Rehaul meson build script #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

HaoZeke
Copy link

@HaoZeke HaoZeke commented Jun 7, 2025

Part of #131. Essentially:

  • DRY meson.build
  • Add in options from legacy_setup.py
  • Replace legacy_setup.py in CI

For reference, this is how openmp can be checked.

python -m pip install -v . -Csetup-args=-Duse_openmp=true
ldd /home/rgoswami/Git/Github/Quansight/freeThreading/scs-python/.ftci/lib/python3.13t/site-packages/scs/_scs_direct.cpython-313t-x86_64-linux-gnu.so
        linux-vdso.so.1 (0x00007f40db73f000)
        libblas.so.3 => /usr/lib/libblas.so.3 (0x00007f40db625000)
        liblapack.so.3 => /usr/lib/liblapack.so.3 (0x00007f40da600000)
        **libgomp.so.1 => /usr/lib/libgomp.so.1 (0x00007f40db5d1000)**
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f40da410000)
        libgfortran.so.5 => /usr/lib/libgfortran.so.5 (0x00007f40da000000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f40db4d7000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f40db4aa000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f40db741000)

HaoZeke added 9 commits June 7, 2025 21:41
3.8 is EOL for the past 8 months now.. and not built on CI anyway

xref: bodono#117
Stop polluting site-packages with _scs*.so
in the same directory, otherwise scs/__init__.py shadows the one
installed with python -mpip install .
@HaoZeke
Copy link
Author

HaoZeke commented Jun 7, 2025

The GPU bit is speculative (didn't have one to test).

@HaoZeke HaoZeke force-pushed the updMeson branch 6 times, most recently from 450d19f to b1573aa Compare June 7, 2025 21:47
@HaoZeke HaoZeke force-pushed the updMeson branch 9 times, most recently from 265660d to b1c0c68 Compare June 7, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant