java MVN and ONEAPI #8341
vraoulinfr
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If the JAVA executable needs links to ONEAPI libraries or code (e.g. JNI to intel C++) the MVN process needs to "source" the setvars.sh INTEL's script.
My solution is to modify the MVN launch script from NetBeans installation directory for looking an environment variables (says "intel") and, if the variable is sets, source the INTEL's script before starting MVN. Then, modifying the "nbactions.xml" file as follow (line 5) the INTEL's script is sourced before starting the java code:
I don't find any other way of doing this, but I have to change the MVN launch script at each NetBeans release:
Is there a more friendly way of doing this ? Regards,
raoul.
Beta Was this translation helpful? Give feedback.
All reactions