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

Run setvars.sh also before building for icpx compiler #708

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Sep 5, 2024

Description

Run setvars.sh also before building for icpx compiler. It fixes the following warnings:

/usr/bin/ld: warning: libsvml.so, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libirng.so, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libimf.so, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libintlc.so.5, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)

See the build: https://github.com/oneapi-src/unified-memory-framework/actions/runs/10700901541/job/29666095891#logs

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@ldorau ldorau requested a review from a team as a code owner September 5, 2024 07:48
@ldorau ldorau force-pushed the Run_setvars.sh_also_before_building_for_icpx_compiler branch from 0944e70 to 20c732f Compare September 5, 2024 08:36
Run setvars.sh also before building for icpx compiler.
It fixes the following warnings:

/usr/bin/ld: warning: libsvml.so, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libirng.so, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libimf.so, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libintlc.so.5, needed by ../lib/libumf.so.0.9.0, not found (try using -rpath or -rpath-link)

Also unify the next command in the same way.

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Run_setvars.sh_also_before_building_for_icpx_compiler branch from 20c732f to 0b6d1b7 Compare September 5, 2024 09:04
@lukaszstolarczuk lukaszstolarczuk merged commit ae5ad2e into oneapi-src:main Sep 5, 2024
66 checks passed
@ldorau ldorau deleted the Run_setvars.sh_also_before_building_for_icpx_compiler branch September 5, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants