Skip to content

Commit 4b60df4

Browse files
committed
Enable kokkos on macOS
1 parent 05888fd commit 4b60df4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

simtbx/SConscript

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if not env_etc.no_boost_python:
3434
env_simtbx.SConscript("gpu/SConscript",exports={ 'env' : env_simtbx })
3535
env_simtbx.SConscript("pixel/SConscript",exports={ 'env' : env_simtbx })
3636

37-
# only build kokkos on linux and if kokkos is enabled
38-
if sys.platform.startswith('linux') and env_etc.enable_kokkos:
37+
# only build kokkos on linux/macOS and if kokkos is enabled
38+
if (sys.platform.startswith('linux') or sys.platform == 'darwin') \
39+
and env_etc.enable_kokkos:
3940
env_simtbx.SConscript("kokkos/SConscript",exports={ 'env' : env_simtbx })

0 commit comments

Comments
 (0)