Skip to content
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

Update mac documentation to include arm64 #330

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

jwokaty
Copy link
Collaborator

@jwokaty jwokaty commented Sep 25, 2023

Close #283

Rather than make a separate document, I've included the information for configuring a mac arm64 with the x86_64 mac. There are two that should be updated for open babel (required by ChemmineOB) and ensemblVEP (required by ensemblVEP) as they appear to error on arm64 and this is tracked in #329.

Doc/Prepare-macOS-Big-Sur-HOWTO.md Outdated Show resolved Hide resolved
`openjdk-14.0.1_osx-x64_bin.tar.gz`) to `~/Downloads/`.
Go to https://jdk.java.net/ and follow the link to the latest JDK. Then
download the tarball for your specifc mac (e.g. `openjdk-18.0.1.1_macos-x64_bin.tar.gz`
or `openjdk-18.0.1.1_macos-aarch64_bin.tar.gz`) to `~/Downloads/`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend using https://adoptium.net/ instead. There one can easily find which is the latest LTS release. Currently it shows v17 but it will change to v21 in the coming days.
Java 18 is not supported any more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. I'll update the machines next month. Good to know Java needs an update.

Doc/Prepare-macOS-Big-Sur-HOWTO.md Outdated Show resolved Hide resolved
@@ -1320,6 +1358,8 @@ effect. Then:

### 4.6 Install Open Babel

TODO: Modify instructions for arm64

The **ChemmineOB** package requires Open Babel 3. Note that the Open Babel
website seems very outdated:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use the following steps to build OpenBabel for Linux ARM64:

wget https://github.com/openbabel/openbabel/releases/download/openbabel-3-1-1/openbabel-3.1.1-source.tar.bz2
tar jxvf openbabel-3.1.1-source.tar.bz2
cd openbabel-3.1.1
mkdir build && cd build
cmake ..
make -j
export OPEN_BABEL_HOME="/home/biocbuild/openbabel-3.1.1"
cmake --install . --prefix $OPEN_BABEL_HOME
export OPENBABEL_CFLAGS="-I$OPEN_BABEL_HOME/include/openbabel3 -L$OPEN_BABEL_HOME/lib"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OPEN_BABEL_HOME/lib

@jwokaty
Copy link
Collaborator Author

jwokaty commented Sep 26, 2023

@martin-g Thanks for reviewing!

@jwokaty jwokaty mentioned this pull request Sep 26, 2023
@jwokaty jwokaty merged commit d858ff4 into Bioconductor:devel Sep 27, 2023
martin-g pushed a commit to martin-g/BBS that referenced this pull request Nov 3, 2023
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.

Document Mac Silicon
2 participants