diff --git a/test/ci.nix b/test/ci.nix index 0776b15..99efcd2 100644 --- a/test/ci.nix +++ b/test/ci.nix @@ -11,7 +11,21 @@ stdenv.mkDerivation rec { # Just build some packages buildInputs = with bsc; [ + # Compilers + icc + clangOmpss2 + mcxx + # MPI + impi + mpich + openmpi + tampi + # Tools + ovni extrae + paraver + # Runtimes + nanos6 ]; buildPhase = '' diff --git a/test/compilers/llvm-ompss2-flang.nix b/test/compilers/llvm-ompss2-flang.nix new file mode 100644 index 0000000..9de7ebb --- /dev/null +++ b/test/compilers/llvm-ompss2-flang.nix @@ -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" + ''; +}