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

Fujitsu toolchain TODO list for EB v4.4.0 #701

Closed
34 tasks done
migueldiascosta opened this issue May 23, 2021 · 2 comments
Closed
34 tasks done

Fujitsu toolchain TODO list for EB v4.4.0 #701

migueldiascosta opened this issue May 23, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@migueldiascosta
Copy link
Member

migueldiascosta commented May 23, 2021

Framework

Easyblocks

Easyconfigs

@migueldiascosta migueldiascosta added this to the 4.4.0 milestone May 23, 2021
@migueldiascosta migueldiascosta self-assigned this May 23, 2021
@boegel
Copy link
Member

boegel commented May 31, 2021

@migueldiascosta

w.r.t. easybuilders/easybuild-framework@2138971, we need a better solution for passing -Nclang: it was moved to CC and CXX in compiler toolchain definition because some configure scripts (e.g. _ctypes/libffi) don't use C[XX]FLAGS when detecting the compiler, but on the other hand some scripts try to find an executable named fcc -Nclang and fail, including easybuild itself: WARNING Could not find command 'fcc -Nclang' (...) DEBUG Not installing RPATH wrapper for non-existing command 'fcc -Nclang', so this is not right

  • one option would be to enforce RPATH and make sure -Nclang is set in the RPATH wrapper (?)

We can enhance framework to strip off flags from the $CXX value before it tries to locate the command, but even then you may run into surprises in some places. The best way to fix may be to ensure that $CXXFLAGS is picked up consistently, but that seems painful?
I'm not sure that abusing the RPATH wrappers makes sense. Perhaps we need another compiler wrapper script that can be used to inject specific flags (and then have the RPATH wrapper call that wrapper rather than the actual compiler)?

w.r.t. easybuilders/easybuild-framework#3704, we probably need to set both LIBRARY_PATH and LDFLAGS, some builds don't use LDFLAGS so the RPATH wrapper misses it (without RPATH it's not the problem because the compiler always looks at this path for dynamic libraries)

Same solution, a separate wrapper to inject what's needed?

@boegel boegel modified the milestones: 4.4.0, release after 4.4.0 Jun 1, 2021
@migueldiascosta migueldiascosta changed the title Fujitsu toolchain TODO list Fujitsu toolchain TODO list for EB v4.4.0 Jun 1, 2021
@migueldiascosta
Copy link
Member Author

split into what went into EB v4.4.0, this issue, and what's still open, #704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants