File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11# Finds or fetches emhash.
2+ if (DEFINED SYCL_EMHASH_DIR OR DEFINED EMHASH_SYS_LOC)
3+ return ()
4+ endif ()
25find_file (EMHASH_SYS_LOC "hash_table8.hpp" PATH_SUFFIXES "emhash" )
36if (NOT EMHASH_SYS_LOC)
47 set (EMHASH_REPO https://github.com/ktprime/emhash)
Original file line number Diff line number Diff line change 11# Fetch third party headers
22include (FetchContent)
33
4- # The sycl target should download or find emhash.
4+ # The sycl target should download or find emhash but may not
5+ # for standalone builds.
56if (NOT SYCL_EMHASH_DIR)
6- message (FATAL_ERROR "emhash headers not found" )
7+ list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR} /../../sycl/cmake/modules" )
8+ include (FetchEmhash)
79endif ()
810
911set (PARALLEL_HASHMAP_REPO https://github.com/greg7mdp/parallel-hashmap.git)
You can’t perform that action at this time.
0 commit comments