You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried several building qml on my M1 Mac. Here's roughly what I do to build it
cd qml
./configure CC=clang, FC=gfortran, KXARCH=m64
cd download
wget http://www.netlib.org/cephes/cprob.tgz
wget https://www.netlib.org/opt/conmax.f
wget https://github.com/stevengj/nlopt/releases/download/nlopt-2.4.2/nlopt-2.4.2.tar.gz
cp ~/q/c/k.h .
cd ..
cd src
cp ~/q/m64/c.o .
cd ..
make KXVER=4
cd src
clang -shared -fPIC -o qml.so ../lib/libprob.a ../lib/libconmax.a ../lib/libnlopt.a -llapack -lblas -framework Accelerate -lm
cp qml.so ~/q/m64
but running q qml.q I get:
'qml: loading qml_sin(): dlsym(0x64849920, qml_sin): symbol not found
[5] /Volumes/Storage/Code/qml/src/qml.q:5: {'x}
^
[4] /Volumes/Storage/Code/qml/src/qml.q:4: {x[0] set @[dll 2:;1_x;
^
{'x}"qml: loading ",string[x 1],"(): ",]}
q.qml))
``` because `qml.so` does not contain any symbols.
Is `qml` supported on an M1 Mac? If so, instructions to install it would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
somethingbloodyfunky
changed the title
Building dml on an Apple Silicon M1 Mac
Building qml on an Apple Silicon M1 Mac
Nov 6, 2024
I've tried several building
qml
on my M1 Mac. Here's roughly what I do to build itbut running
q qml.q
I get:The text was updated successfully, but these errors were encountered: