From 4b60df4777cbefdcd81f7018871f75f295a0a3fc Mon Sep 17 00:00:00 2001 From: "Billy K. Poon" Date: Thu, 17 Mar 2022 03:07:02 -0700 Subject: [PATCH] Enable kokkos on macOS --- simtbx/SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simtbx/SConscript b/simtbx/SConscript index c5c456fa375..2c8137ac2db 100644 --- a/simtbx/SConscript +++ b/simtbx/SConscript @@ -34,6 +34,7 @@ if not env_etc.no_boost_python: env_simtbx.SConscript("gpu/SConscript",exports={ 'env' : env_simtbx }) env_simtbx.SConscript("pixel/SConscript",exports={ 'env' : env_simtbx }) - # only build kokkos on linux and if kokkos is enabled - if sys.platform.startswith('linux') and env_etc.enable_kokkos: + # only build kokkos on linux/macOS and if kokkos is enabled + if (sys.platform.startswith('linux') or sys.platform == 'darwin') \ + and env_etc.enable_kokkos: env_simtbx.SConscript("kokkos/SConscript",exports={ 'env' : env_simtbx })