Skip to content

[CI] Install hwloc from apt instead of building from sources #1271

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

PatKamin
Copy link
Contributor

Get rid of the hwloc installation script runs in CI. Save ca. 25s in each of 14 jobs using this script.

Description

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly
  • CI workflows, not executed per PR (e.g. Nightly), execute properly
  • New tests added, especially if they will fail without my changes
  • Added/extended example(s) to cover this functionality
  • Extended the README/documentation
  • All newly added source files have a license
  • All newly added source files are referenced in CMake files
  • Logger (with debug/info/... messages) is used
  • All API changes are reflected in docs and def/map files, and are tested

@PatKamin PatKamin requested a review from a team as a code owner April 15, 2025 17:22
@@ -124,7 +124,7 @@ jobs:
- name: Install apt packages
run: |
sudo apt-get update
sudo apt-get install -y clang cmake libnuma-dev lcov
sudo apt-get install -y clang cmake libhwloc-dev libnuma-dev lcov
Copy link
Contributor

Choose a reason for hiding this comment

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

I think HWLOC should be installed only when disable_hwloc == OFF ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should, but it wasn't. It was always installed, so I've left the logic intact in this PR. Anyway, the proposed change is a small one, I'll include it in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Get rid of the installation script runs in CI. Save ca. 25s in each
of 14 jobs using this script.
@PatKamin PatKamin force-pushed the remove-hwloc-install branch from 577dc96 to c0bc9c9 Compare April 15, 2025 19:13
@lukaszstolarczuk lukaszstolarczuk merged commit 96e7a40 into oneapi-src:main Apr 16, 2025
109 of 110 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.

3 participants