summaryrefslogtreecommitdiff
path: root/modules/remote-sycl/SConstruct
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2024-07-02 19:46:02 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2024-07-02 19:46:02 +0200
commit25e05907f0292310eaae27a032db0ee274413874 (patch)
tree283de0ebb6b61add2221436a77bb09e2ff101080 /modules/remote-sycl/SConstruct
parente51d2b1c0493dfd30d1622c8a0628ecf98c92f1c (diff)
Preparing benchmark work
Diffstat (limited to 'modules/remote-sycl/SConstruct')
-rw-r--r--modules/remote-sycl/SConstruct10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/remote-sycl/SConstruct b/modules/remote-sycl/SConstruct
index 96e9df9..40344e7 100644
--- a/modules/remote-sycl/SConstruct
+++ b/modules/remote-sycl/SConstruct
@@ -50,14 +50,19 @@ env_vars.Add(
)
);
+env_vars.Add(
+ BoolVariable('build_benchmarks',
+ help='Build benchmarks',
+ default=False
+ )
+);
+
env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[],
CPPDEFINES=['SAW_UNIX'],
CXXFLAGS=['-std=c++20','-g','-Wall','-Wextra'],
LIBS=['forstio-core'
,'forstio-codec'
,'forstio-async'
- ,'forstio-io'
- ,'forstio-io_codec'
,'acpp-rt'
,'OpenCL'
,'omp'
@@ -76,6 +81,7 @@ Export('env')
SConscript('c++/SConscript')
SConscript('tests/SConscript')
SConscript('examples/SConscript')
+SConscript('benchmarks/SConscript')
env.Alias('cdb', env.cdb);
env.Alias('all', [env.targets]);