-
Notifications
You must be signed in to change notification settings - Fork 25
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
Building on M1 Mac from source #56
Comments
Thanks a lot |
Hi I tried but got :
at = run cmake ../source |
This took me almost all night to figure out so I just wanted to post this as info for anyone else trying to do this.
Use homebrew to install the required libraries
brew install xz zlib bzip2 icu4c
brew link icu4c --force
cd
EpansionHunterDenovo direcotrymkdir build
cd
into the build directorycmake ../source
Modify the line in
ExpansionHunterDenovo/source/thirdparty/catch2/catch.hpp
:change line 6014 from:
To:
Modify the line in
build/thirdparty/htslib-1.9-source/cram/cram_io.c
changed the
#include <lzma.h>
to#include "/opt/homebrew/opt/xz/include/lzma.h"
THEN in the build directory you can run
make
and the build should complete!The text was updated successfully, but these errors were encountered: