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

Adding OpenRNG Backend #2871

Merged
merged 6 commits into from
Oct 1, 2024
Merged

Commits on Sep 5, 2024

  1. Added openrng backend

    To build using openrng backend follow these steps
    
    .ci/scripts/build.sh --compiler gnu --optimizations sve \
        --target onedal_c --backend-config ref  --plat lnxarm --use-openrng yes
    .ci/scripts/build.sh --compiler gnu --optimizations sve \
        --target daal --backend-config ref  --plat lnxarm --use-openrng yes
    
    With this PR, openRNG backend becomes available for builds on
    arm machine with ref backend using gnu compiler.
    (For the other kinds of ref builds, support can be added in the future)
    
    The script `.ci/env/openrng.sh` builds openrng at `__deps/openrng`.
    
    For more control over the build process, this script can be run before
    running the make command. While building using make, the variable
    `RNG_BACKEND` should be set to `openrng` for the build to use openRNG backend.
    
    If openRNG is installed in a directory other than `./__deps/openrng`,
    the environment variable `OPENRNGROOT` can be set before using the make
    command to specify the openRNG build directory.
    
    Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
    DhanusML committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    ce6f099 View commit details
    Browse the repository at this point in the history
  2. clang-format-14 fix

    Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
    DhanusML committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f2a380d View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    0cce31c View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. removed daal macros and added typecasts

    Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
    DhanusML committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f5ac14f View commit details
    Browse the repository at this point in the history
  2. review comments

    setting RNG_BACKEND variable based on the backend config in makefile.
    
    Signed-off-by: Dhanus M Lal <Dhanus.MLal@fujitsu.com>
    DhanusML committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a2ad4f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1efae0 View commit details
    Browse the repository at this point in the history