From 25e05907f0292310eaae27a032db0ee274413874 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 2 Jul 2024 19:46:02 +0200 Subject: Preparing benchmark work --- modules/remote-sycl/SConstruct | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/remote-sycl/SConstruct') 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]); -- cgit v1.2.3