Reduce ompss2 test verbosity

This commit is contained in:
Rodrigo Arias 2023-05-22 13:55:23 +02:00
parent b8f7c16d1c
commit bb6129a77e

View File

@ -23,19 +23,22 @@ stdenv.mkDerivation rec {
dontUnpack = true; dontUnpack = true;
dontConfigure = true; dontConfigure = true;
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];
NIX_DEBUG = 1; #NIX_DEBUG = 1;
buildInputs = [ strace gdb ]; buildInputs = [ strace gdb ];
# NODES requires access to /sys/devices to request NUMA information. It will # NODES requires access to /sys/devices to request NUMA information. It will
# fail to run otherwise, so we disable the sandbox for this test. # fail to run otherwise, so we disable the sandbox for this test.
__noChroot = true; __noChroot = true;
buildPhase = '' buildPhase = ''
set -x #set -x
echo CC=$CC #$CC -v
$CC -v
cp ${task_c} task.c cp ${task_c} task.c
echo CC=$CC
echo NANOS6_HOME=$NANOS6_HOME
echo NODES_HOME=$NODES_HOME
cat task.c cat task.c
$CC -v -fompss-2 task.c -o task $CC -fompss-2 task.c -o task
#strace -ff -e trace=open,openat -s9999999 ./task #strace -ff -e trace=open,openat -s9999999 ./task
LD_DEBUG=libs ./task LD_DEBUG=libs ./task
#gdb -batch -ex "run" -ex "bt" ./task #gdb -batch -ex "run" -ex "bt" ./task