Skip to content

Conversation

HaoZeke
Copy link
Contributor

@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
Contributor 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
@bodono
Copy link
Owner

bodono commented Jun 13, 2025

Thanks!

@bodono bodono merged commit 3e7c427 into bodono:master Jun 13, 2025
14 checks passed
@HaoZeke HaoZeke deleted the updMeson branch June 13, 2025 19:18
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.

2 participants