diff options
Diffstat (limited to 'modules/remote-sycl/SConstruct')
-rw-r--r-- | modules/remote-sycl/SConstruct | 10 |
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]); |