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

[CI] Move shared library testing to nightly #14996

Merged
merged 6 commits into from
Aug 16, 2024
Merged

[CI] Move shared library testing to nightly #14996

merged 6 commits into from
Aug 16, 2024

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Aug 7, 2024

The only value for shared library build is making sure the build isn't broken for developers. Using sharedlib build in postcommit complicates HIP testing.

Move precommit to use static lib build and move shared library build+lit to nightly only.

run: |
PREINSTALLED_CLANG_PATH=`which clang`
PREINSTALLED_INSTALL_DIR=`echo $PREINSTALLED_CLANG_PATH | rev | cut -c7- | rev`
cp "${PREINSTALLED_INSTALL_DIR}/lld" $GITHUB_WORKSPACE/build/install/bin/
Copy link
Contributor Author

@sarnex sarnex Aug 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not exactly pretty, but I don't have any better ideas because:

  1. The lld available by default in the Ubuntu image we use wasn't built with amdgpu target support
  2. The lld available in the development PPAs provided by LLVM wasn't built with amdgpu target support

Basically we are just copying over the lld from the build image, which is a static library build.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@sarnex sarnex changed the title [CI] Use shared library build for HIP testing in postcommit [CI] Move shared library testing to nightly Aug 15, 2024
@sarnex
Copy link
Contributor Author

sarnex commented Aug 15, 2024

Arc failure not related, fixed in HEAD.

Nightly run passed here

@sarnex sarnex marked this pull request as ready for review August 15, 2024 23:02
@sarnex
Copy link
Contributor Author

sarnex commented Aug 15, 2024

@aelovikov-intel Your feedback should be addressed and this seems fine to do based on the email thread response IMO.
Mind taking another look?

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@sarnex sarnex merged commit 99a69c0 into intel:sycl Aug 16, 2024
22 checks passed
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.

2 participants