Move test inside pkgs/

This commit is contained in:
2025-03-04 18:00:04 +01:00
parent e47b8f4afb
commit 3d10f3a568
20 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{stdenv, clang-ompss2, nanos6}:
stdenv.mkDerivation rec {
version = "0.0.1";
name = "test-clang-ompss2";
src = ./.;
buildInputs = [ clang-ompss2 nanos6 ];
NIX_DEBUG = 1;
buildPhase = ''
clang -fompss-2 hello.c -o hello
./hello
clang++ -fompss-2 hello.cc -o hello
./hello
'';
installPhase = ''
mkdir -p $out
'';
}