forked from rarias/bscpkgs
Add a more strict test for OpenMP+nOS-V
In this test we ensure that the worksharing region is running inside a nOS-V task, so we know that we are not using the vanilla OpenMP by accident. We also keep the previous test test/compilers/clang-openmp.nix as-is, so we can check that the compiler injects the nosv library dependency in the final binary on its own. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
@@ -78,6 +78,9 @@ in bscPkgs // {
|
||||
clangNosvOpenmp-task = callPackage ./test/compilers/clang-openmp.nix {
|
||||
stdenv = final.stdenvClangOmpss2OpenmpNodes;
|
||||
};
|
||||
clangNosvOpenmp-nosv = callPackage ./test/compilers/clang-openmp-nosv.nix {
|
||||
stdenv = final.stdenvClangOmpss2OpenmpNodes;
|
||||
};
|
||||
};
|
||||
|
||||
pkgs = final.runCommand "ci-pkgs" { }
|
||||
|
||||
Reference in New Issue
Block a user