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

macOS arm not supported ? #377

Open
aphecetche opened this issue Jan 19, 2024 · 3 comments
Open

macOS arm not supported ? #377

aphecetche opened this issue Jan 19, 2024 · 3 comments

Comments

@aphecetche
Copy link
Contributor

I'm trying to compile GENIE (master) on an Apple Mac M1, and it seems that is not supported (e.g. the Make.include does not list macosxarm64), and I get :

simulation🚀~/km3net/simulation/genie [configure-change-root-mathmore-detection] $ make


***** Building GENIE from source tree at: /Users/laurent/km3net/simulation/genie
***** The source tree corresponds to GENIE version 999.999.999


** Creating GENIE lib and bin directories...
cd /Users/laurent/km3net/simulation/genie && \
        [ -d bin ] || mkdir bin && chmod 755 bin && \
        [ -d lib ] || mkdir lib && chmod 755 lib;

** Taking a snapshot of the build environment...
perl /Users/laurent/km3net/simulation/genie/src/scripts/setup/genie-build-env-snapshot

** Adding automatically generated code...
perl /Users/laurent/km3net/simulation/genie/src/scripts/setup/genie-write-gbuild
perl /Users/laurent/km3net/simulation/genie/src/scripts/setup/genie-write-gversion

** Building GENIE framework...
cd /Users/laurent/km3net/simulation/genie/src/Framework && \
        cd Algorithm       &&  make && cd .. && \
        cd EventGen        &&  make && cd .. && \
        cd GHEP            &&  make && cd .. && \
        cd Interaction     &&  make && cd .. && \
        cd Messenger       &&  make && cd .. && \
        cd Ntuple          &&  make && cd .. && \
        cd Numerical       &&  make && cd .. && \
        cd ParticleData    &&  make && cd .. && \
        cd Registry        &&  make && cd .. && \
        cd Utils           &&  make && \
        cd /Users/laurent/km3net/simulation/genie
make[1]: *** No rule to make target `AlgConfigPool.', needed by `_ROOT_DICT_FwAlg.cc'.  Stop.
make: *** [framework] Error 2

which I'd attribute to a missing ObjSuf ...

Is there a plan to support that platform ?

And/or migrate to a more "modern" build system like CMake (just peeked around the mailing list and found a mention of it way back https://www.jiscmail.ac.uk/cgi-bin/wa-jisc.exe?A2=ind1602&L=NEUTRINO-MC-SUPPORT&P=R1920 but looking at the repo now I don't see any CMakeLists.txt lying around ? )

@JaydipSingh
Copy link

I also found the same issue with the latest MacOS( M3 ), Did you find any solution to this issue?

fatal: not a git repository (or any of the parent directories): .git

** Building GENIE framework...
cd /Users/jdsingh/GENIE/src/Generator-R-3_02_00/src/Framework &&
cd Algorithm && make && cd .. &&
cd EventGen && make && cd .. &&
cd GHEP && make && cd .. &&
cd Interaction && make && cd .. &&
cd Messenger && make && cd .. &&
cd Ntuple && make && cd .. &&
cd Numerical && make && cd .. &&
cd ParticleData && make && cd .. &&
cd Registry && make && cd .. &&
cd Utils && make &&
cd /Users/jdsingh/GENIE/src/Generator-R-3_02_00
make[1]: *** No rule to make target AlgConfigPool.', needed by _ROOT_DICT_FwAlg.cc'. Stop.
make: *** [framework] Error 2

@aphecetche
Copy link
Contributor Author

@JaydipSingh no, I unfortunately did not find a solution for this.

@JaydipSingh
Copy link

@aphecetche , Did you install it any other way?

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

No branches or pull requests

2 participants