Pochung Chen
Pochung Chen
## gcc-15 With gcc-15, `pip install` fails when building hptt ````bash [ 4%] Performing build step for 'hptt' [ 10%] Building CXX object CMakeFiles/hptt_static.dir/src/hptt.cpp.o [ 20%] Building CXX object CMakeFiles/hptt_static.dir/src/plan.cpp.o...
## gcc-12 With gcc-12, `pip install` fails near the end ````bash Building wheels for collected packages: cytnx Created temporary directory: /private/var/folders/vx/2rtqxt1j1xq1b3b7ltbg_ch00000gn/T/pip-wheel-n36jse2q Destination directory: /private/var/folders/vx/2rtqxt1j1xq1b3b7ltbg_ch00000gn/T/pip-wheel-n36jse2q Building wheel for cytnx (pyproject.toml): started...
## gcc-11 With gcc-11, `pip install` also fails. (kind of similar to gcc-12)
I will test again, using bc222ec17b08fb6ea4f35ceb2bbb682076f7a7da
On my ubuntu 24.04 notebook, using commit bc222ec17b08fb6ea4f35ceb2bbb682076f7a7da `pip install . -vv` finish without error. But when I try to import cytnx from python, I got the runtime error: ````...
Thisis to confirm that: Using bc222ec , on macOS 15.6, `pip install .` is successful when I use * Apple clang version 17.0.0 * Homebrew clang version 20.1.7
```` ldd /home/pcchen/myvenv/test/default/lib/python3.12/site-packages/cytnx/cytnx.cpython-312-x86_64-linux-gnu.so linux-vdso.so.1 (0x00007f18e6637000) libpython3.12.so.1.0 => /lib/x86_64-linux-gnu/libpython3.12.so.1.0 (0x00007f18e4600000) libopenblas.so.0 => /lib/x86_64-linux-gnu/libopenblas.so.0 (0x00007f18e2220000) libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f18e65c4000) libarpack.so.2 => /lib/x86_64-linux-gnu/libarpack.so.2 (0x00007f18e657a000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f18e1e00000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f18e4f17000) libgcc_s.so.1...
This it to confirm that, with bc222ec17b08fb6ea4f35ceb2bbb682076f7a7da, on macOS, using homebrew * gcc14, gcc13 works * gcc15, gcc12, gcc11 fails. For gcc15, it fails during build step for 'hptt' ````...
@IvanaGyro Can you help to provide some documentation for the scikit-build-core/pip install? Especially about how to pass configurations. For example, if I do ```` pip install . -vv \ --config-settings...
Now I remember. In my Ubuntu 24.04, `libopenblas.so` does NOT contain `LAPACKE_*`. There is a separate `liblapacke.so` which do contain `LAPACKE_*`. ```` nm -gD /lib/x86_64-linux-gnu/libopenblas.so |grep LAPACKE ```` ```` nm...