diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-05-22 17:22:18 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-05-22 17:22:18 +0200 |
commit | 97ec4b9edfa88302878b523baf09674503d19fab (patch) | |
tree | 1703c491303dcc8d23decdeef858a52fe6c67c0e /modules/remote-sycl/SConstruct | |
parent | 875ce0328d1d919d639797972e4cf60c6715503f (diff) |
Progress in fixing remote-sycl and ammended minor parts in echo_client
Diffstat (limited to 'modules/remote-sycl/SConstruct')
-rw-r--r-- | modules/remote-sycl/SConstruct | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/remote-sycl/SConstruct b/modules/remote-sycl/SConstruct index 876638a..4bdab03 100644 --- a/modules/remote-sycl/SConstruct +++ b/modules/remote-sycl/SConstruct @@ -43,6 +43,13 @@ env_vars.Add('prefix', validator=isAbsolutePath ) +env_vars.Add( + BoolVariable('build_examples', + help='Build examples', + default=False + ) +); + env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], CPPDEFINES=['SAW_UNIX'], CXXFLAGS=['-std=c++20','-g','-Wall','-Wextra'], @@ -52,6 +59,7 @@ env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[], ,'forstio-io' ,'forstio-io_codec' ,'hipSYCL-rt' + ,'omp' #,'OpenCL' ] ); @@ -67,6 +75,7 @@ env.targets = []; Export('env') SConscript('c++/SConscript') SConscript('tests/SConscript') +SConscript('examples/SConscript') env.Alias('cdb', env.cdb); env.Alias('all', [env.targets]); |