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

icpc link is not recognized #323

Open
SG38 opened this issue Aug 6, 2018 · 2 comments
Open

icpc link is not recognized #323

SG38 opened this issue Aug 6, 2018 · 2 comments

Comments

@SG38
Copy link

SG38 commented Aug 6, 2018

When configuring a C++ compilation with
<cpp><name> icpc performs correctly. The Intel compiler is called to create the object files.
However, <linker> <name> icpc is not recognized. Only g++is available for linking. The icpc compiler needs g++ and I cannot make a link from g++ to icpc.
Is there a way to force to use our own linker please?
Thank you in advance.

@ctrueden
Copy link
Contributor

ctrueden commented Aug 6, 2018

Passing the -X flag to mvn may shed more light on the choices the NAR plugin is making. It is likely you will need to dig into the source code to understand what is happening and potentially improve the code to support your use case. I took a quick look in the source (e.g. at LinkerEnum.java) but icpc is certainly already on the list of supported linkers.

@bchiodo
Copy link
Contributor

bchiodo commented Sep 25, 2018

I use icpc as the field in without issue on nar >= 3.5.1. There must be more to it. If you post a complete example project that exhibits the issue I can test compile/link it here.

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

No branches or pull requests

3 participants