Use clang instead of the stdenv and add test

This commit is contained in:
Rodrigo Arias 2025-07-01 12:49:20 +02:00
parent 5318a1d203
commit 11a83adb54
2 changed files with 14 additions and 1 deletions

View File

@ -26,7 +26,8 @@
pname = "devshell";
buildInputs = with pkgs; [
slurm.out slurm.dev gcc
stdenvClangOmpss2
clangOmpss2
nanos6
];
inputsFrom = with pkgs; [
nanos6

12
isabel/slurm/llvmTest.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
int main()
{
#pragma oss task node(0)
{
printf("Tasking\n");
}
#pragma oss taskwait
printf("Past the task\n");
return 0;
}