Skip to content

Commit

Permalink
Enable kokkos on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bkpoon committed Mar 17, 2022
1 parent 05888fd commit 4b60df4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions simtbx/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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 })

0 comments on commit 4b60df4

Please sign in to comment.