[ET Trac] #2553: Cactus' link command used CPPFLAGS and CXXFLAGS

Roland Haas trac-noreply at einsteintoolkit.org
Wed Aug 11 09:42:52 CDT 2021

#2553: Cactus' link command used CPPFLAGS and CXXFLAGS

 Reporter: Roland Haas
   Status: new
  Version: development version
     Type: bug
 Priority: minor
Component: Cactus

Cactus link line in make.configuration looks like this right now:


ie it passed `$(CPPFLAGS)` and `$(CXXFLAGS)` to `$(LD)`. While we do normally set `LD` to the same as `CXX` this is not always correct, eg if one would like to use `g++` for C\+\+ files but link with `nvcc`. 

Neither one of these options is required or should be there since `$(LD)` does not compile anything at all. Any subset of options from `$(CPPFLAGS)` or `$(CXXFLAGS)`  that may be needed \(eg `-fopenmp` should be set in `$(LDFLAGS)`\).

Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2553/cactus-link-command-used-cppflags-and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20210811/b3bf25e6/attachment.html 

More information about the Trac mailing list