Skip to content

CI jobs for OpenRNG-OpenBLAS-Arm build #2972

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 13 commits into from
Jun 27, 2025

Conversation

DhanusML
Copy link
Contributor

@DhanusML DhanusML commented Nov 8, 2024

Description

  • Added new CI job for the OpenRNG build
  • Modified the build script to enable cross compile
  • Fixed static link build issue with Openrng backend
  • Extended excluded examples for OpenRNG build

PR should start as a draft, then move to ready for review state after CI is passed and all applicable checkboxes are closed.
This approach ensures that reviewers don't spend extra time asking for regular requirements.

You can remove a checkbox as not applicable only if it doesn't relate to this PR in any way.
For example, PR with docs update doesn't require checkboxes for performance while PR with any change in actual code should have checkboxes and justify how this code change is expected to affect performance (or justification should be self-evident).

Checklist to comply with before moving PR from draft:

PR completeness and readability

  • I have reviewed my changes thoroughly before submitting this pull request.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • I have run it locally and tested the changes extensively.
  • All CI jobs are green or I have provided justification why they aren't.
  • I have extended testing suite if new functionality was introduced in this PR.

* Modified the build script to enable cross compile
* Fixed static link build with openrng backend
* Extended exclude list for openrng build

Signed-off-by: Dhanus M Lal <[email protected]>
Signed-off-by: Dhanus M Lal <[email protected]>
@icfaust
Copy link
Contributor

icfaust commented Nov 9, 2024

@DhanusML is there a way to integrate the OpenRNG testing into another job or replace another? we are becoming very resource constrained in azure pipelines and github actions.

@ethanglaser ethanglaser requested a review from Vika-F December 16, 2024 19:21
@napetrov
Copy link
Contributor

@DhanusML @rakshithgb-fujitsu - with uxlorg upgraded to Enterprise tire we now can use arm github runners. Might be worth moving pipeline to those systems for now?

@napetrov
Copy link
Contributor

napetrov commented Apr 1, 2025

i think we could first integrate CI run on real HW and then enable this PR on new systems - #3100

@syakov-intel
Copy link

@DhanusML the ARM runners PR seems to be merged. Would you consider moving testing there?

@rageshhajela16
Copy link

@DhanusML the ARM runners PR seems to be merged. Would you consider moving testing there?

Sure @syakov-intel @napetrov sure we'll move tests to Arm runners. Thanks

DhanusML and others added 7 commits May 24, 2025 11:51
Changes made to service_openrng.h by commit ed04659
breaks the build because the header service_stat_rng_ref.h
is not included and the macros present in this file are not
compatible with the openrng interface.

Signed-off-by: Dhanus M Lal <[email protected]>
@DhanusML
Copy link
Contributor Author

Sorry for the delayed response. I have moved openrng backend testing to arm github runners. Please review.

@david-cortes-intel
Copy link
Contributor

@DhanusML I see that OpenRNG is not distributed through conda-forge. It looks like you guys have been involved with its development - would it be possible to upload it to conda-forge in the future? It would make it easier later on to build oneDAL from source using regular conda infrastructure.

@napetrov
Copy link
Contributor

/intelci: run

DhanusML and others added 3 commits June 22, 2025 13:22
Got rid of unnecessary attributes
in class BaseRNG.

Signed-off-by: Dhanus M Lal <[email protected]>

# Faster builds where possible. Fix version of CMake and Ninja.
# Note: This will create a github actions cache
- name: Get CMake and Ninja
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this reuse the same entries from other CI jobs that pull cmake?

@david-cortes-intel david-cortes-intel merged commit d535c17 into uxlfoundation:main Jun 27, 2025
22 of 25 checks passed
richardnorth3 pushed a commit to richardnorth3/oneDAL that referenced this pull request Jul 8, 2025
* Added ci jobs for openrng openblas arm build

* Modified the build script to enable cross compile
* Fixed static link build with openrng backend
* Extended exclude list for openrng build

Signed-off-by: Dhanus M Lal <[email protected]>

* excluded more examples

Signed-off-by: Dhanus M Lal <[email protected]>

* revert: externals/service_openrng.h

Changes made to service_openrng.h by commit ed04659
breaks the build because the header service_stat_rng_ref.h
is not included and the macros present in this file are not
compatible with the openrng interface.

Signed-off-by: Dhanus M Lal <[email protected]>

* CI: moved openrng jobs to github workflows

Signed-off-by: Dhanus M Lal <[email protected]>

* CI testing: always pass daal/cpp tests

Signed-off-by: Dhanus M Lal <[email protected]>

* CI arm64-openrng-openblas: set oneapi/cpp examples to always pass

Signed-off-by: Dhanus M Lal <[email protected]>

* typo: changed job name; added comments

Signed-off-by: Dhanus M Lal <[email protected]>

* refactor: address review comments

Got rid of unnecessary attributes
in class BaseRNG.

Signed-off-by: Dhanus M Lal <[email protected]>

* documentation: address review comments

Signed-off-by: Dhanus M Lal <[email protected]>

---------

Signed-off-by: Dhanus M Lal <[email protected]>
Co-authored-by: Nikolay Petrov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants