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 1
1
# Finds or fetches emhash.
2
+ if (DEFINED SYCL_EMHASH_DIR OR DEFINED EMHASH_SYS_LOC )
3
+ return ()
4
+ endif ()
2
5
find_file (EMHASH_SYS_LOC "hash_table8.hpp" PATH_SUFFIXES "emhash" )
3
6
if (NOT EMHASH_SYS_LOC )
4
7
set (EMHASH_REPO https://github.com/ktprime/emhash )
Original file line number Diff line number Diff line change 1
1
# Fetch third party headers
2
2
include (FetchContent )
3
3
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.
5
6
if (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 )
7
9
endif ()
8
10
9
11
set (PARALLEL_HASHMAP_REPO https://github.com/greg7mdp/parallel-hashmap.git )
You can’t perform that action at this time.
0 commit comments