forked from rarias/devshell
Use clang instead of the stdenv and add test
This commit is contained in:
@@ -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
12
isabel/slurm/llvmTest.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user