ReliaSolve / Molprobity2

0 stars 0 forks source link

Deploy cctbx/molprobity on Apple M1 processors #91

Closed russell-taylor closed 3 years ago

russell-taylor commented 3 years ago

Testing on a just-out-of-the-box Mac with and M1 processor:

mkdir -p ~/src/; cd ~/src
git clone https://github.com/cctbx/cctbx_project
mkdir -p ~/cctbx; cd ~/cctbx
python3 ~/src/cctbx_project/libtbx/audo_build/bootstrap.py --python=36 --nproc=1
russell-taylor commented 3 years ago

Failed when trying to build OpenSSL. 'make -j 1' failed with return code 2.

russell-taylor commented 3 years ago

Ran xcode-select --install in a terminal to get the command-line developer tools but the compile failed at the same location.

russell-taylor commented 3 years ago

OpenSSL requires a newer version than they are using. Master works, and it is on the 3.0.0 candidate tag rather than the 1.X tag. Consider making an M1 version that checks this out rather than pulling from a zip file. They may have a more up-to-date zip file on the 3.0.0 alphas that we can use.

russell-taylor commented 3 years ago

It looks like this is downloaded from a set of mirror repositories as a compressed tar file, so replacing this may not be straightforward.

russell-taylor commented 3 years ago

The latest master branch of CCTBX builds and runs Reduce on the M1.