docker: Fixing CFLAG for configuration on Apple ARM M1/2/3#5055
docker: Fixing CFLAG for configuration on Apple ARM M1/2/3#5055echoix merged 2 commits intoOSGeo:mainfrom
Conversation
The `-m64` CFLAG causes the c++ compiler to be unavailable for make.
|
I'm not familiar with docker, but GRASS configures and builds fine with It is also a valid flag for Clang. Could you perhaps provide us with the config.log? |
|
I am not sure where to find |
|
config.log would exist in the same directory that the repo is cloned and built when running locally. So it is in the docker's build context. |
|
While you look for config.log @pwt-cd, I have an open question: is the flag |
|
Just curious: would replacing |
Yes, that works. I'm not sure what the tradeoff between no flag |
Ah! Understood. I could't speak to that as thats how the Dockerfile comes from the |
echoix
left a comment
There was a problem hiding this comment.
I don't see why we should let it wait any longer.
It wasn't supposed to not work on arm/apple silicon, but it'd it works like this, it's fine.
Unless we find that the arch is not 64 bit anymore for intel builds
nilason
left a comment
There was a problem hiding this comment.
Let's but it to live test, and deal with it later if necessary.
The
-m64CFLAG causes the c++ compiler to be unavailable for make.