Merge bscpkgs into jungle #189

Manually merged
rarias merged 1013 commits from merge-bscpkgs into master 2025-10-07 16:12:34 +02:00
2 changed files with 39 additions and 0 deletions
Showing only changes of commit 1a99a7eb73 - Show all commits

View File

@@ -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 = ''

View 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"
'';
}