Saiph: Vectorisation compiler info flags

This commit is contained in:
Sandra 2020-10-07 11:38:02 +02:00
parent 6d413c946c
commit 30630a74be

View File

@ -8,6 +8,8 @@
, boost , boost
, gitBranch ? "master" , gitBranch ? "master"
, numComm ? null , numComm ? null
, vectFlags ? null
#, breakpointHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -33,6 +35,7 @@ stdenv.mkDerivation rec {
cc cc
vtk vtk
boost boost
# breakpointHook
]; ];
# Required for nanos6 # Required for nanos6
@ -50,6 +53,7 @@ stdenv.mkDerivation rec {
"apps" "apps"
"APP=ExHeat3D" "APP=ExHeat3D"
( if (numComm != null) then "NUM_COMM=${toString numComm}" else "" ) ( if (numComm != null) then "NUM_COMM=${toString numComm}" else "" )
( if (vectFlags != null) then "VECT_FLAGS=${toString vectFlags}" else "" )
]; ];
installPhase = '' installPhase = ''