Add more packages to CI
This commit is contained in:
parent
4b5a948918
commit
1a99a7eb73
14
test/ci.nix
14
test/ci.nix
@ -11,7 +11,21 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Just build some packages
|
# Just build some packages
|
||||||
buildInputs = with bsc; [
|
buildInputs = with bsc; [
|
||||||
|
# Compilers
|
||||||
|
icc
|
||||||
|
clangOmpss2
|
||||||
|
mcxx
|
||||||
|
# MPI
|
||||||
|
impi
|
||||||
|
mpich
|
||||||
|
openmpi
|
||||||
|
tampi
|
||||||
|
# Tools
|
||||||
|
ovni
|
||||||
extrae
|
extrae
|
||||||
|
paraver
|
||||||
|
# Runtimes
|
||||||
|
nanos6
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
25
test/compilers/llvm-ompss2-flang.nix
Normal file
25
test/compilers/llvm-ompss2-flang.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
stdenv
|
||||||
|
, flangOmpss2Git
|
||||||
|
, runCommand
|
||||||
|
, writeText
|
||||||
|
, strace
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "flang-ompss2-test";
|
||||||
|
buildInputs = [ strace flangOmpss2Git ];
|
||||||
|
file = writeText "hi.f90"
|
||||||
|
''
|
||||||
|
program hello
|
||||||
|
print *, 'Hello, World!'
|
||||||
|
end program hello
|
||||||
|
'';
|
||||||
|
phases = [ "installPhase" ];
|
||||||
|
installPhase = ''
|
||||||
|
set -x
|
||||||
|
flang "$file" -c -o hi.o
|
||||||
|
flang hi.o -o hi
|
||||||
|
install -Dm555 hi "$out"
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user