use CXX/CC environment variables to set the compiler commands#10
Conversation
previous setting to g++/clang++ is now the fallback default value
|
Since several years we recommend to use cmake for go4 compilation. I see no problem to merge PR. |
|
Ok, thank you! But then I should maybe also add a test for cmake compilation of the user analysis. The syntax is apparently possible since make Version 3.77, from the NEWS file of that version:
|
So it pretty old feature |
Yes, you can do it as well. |
|
Ah, sorry it was not clear what I'm using the examples for. |
|
Yes, this is also valid approach. I expect most of user analysis using old Makefiles - so one need to properly support them. Grate that you are doing this |
Hi!
For the build process on conda-forge the issue came up, that conda-forge actually provides the compiler that should be used for packaging via the
CXXenvironment variable. See also the discussionI can build the packages now by applying a patch before building, but maybe you want to take over that behaviour instead?
It only affects the "make" based build on Linux when I test if Go4 can run
Go4ExampleSimpleandGo4ExampleUserSource. It's not necessary for building Go4 itself with CMake.The previous setting to g++/clang++ is now the fallback default value.