From c083258ef11a3e86adc37499cbdb3661e65fbf31 Mon Sep 17 00:00:00 2001 From: Tristan Carel Date: Thu, 28 Sep 2017 11:25:11 +0200 Subject: [PATCH] stream benchmark: Add support to OpenMP with gcc --- bbp/benchmark/stream/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bbp/benchmark/stream/default.nix b/bbp/benchmark/stream/default.nix index f4298024eb..1bd8ed7dd5 100644 --- a/bbp/benchmark/stream/default.nix +++ b/bbp/benchmark/stream/default.nix @@ -47,6 +47,8 @@ stdenv.mkDerivation rec { "-shared-intel" "-qopenmp" "-qopt-streaming-stores always" + ] ++ stdenv.lib.optionals (! stdenv ? isICC) [ + "-fopenmp" ] ++ extra_cflags;