You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][ESIMD][EMU] URL for pre-built CM_EMU library package (#6027)
* [SYCL][ESIMD][EMU] URL for pre-built CM_EMU library package
- For ESIMD_EMULATOR, URL for pre-built CM_EMU library package is
provided with 'ESIMD_EMU_USE_PREBUILT_CM_PACKAGE' cmake argument
# Using local CM directory for online building without downloading
27
-
if (MSVC)
25
+
set (DEFAULT_CM_EMU_PREBUILT_PACKAGE"https://github.com/intel/cm-cpu-emulation/releases/download/v2022-05-06/intel-cmemu-1.0.22.u20.04-release.x86_64.tar.xz")
26
+
set (DEFAULT_CM_EMU_SOURCE_URL"https://github.com/intel/cm-cpu-emulation.git")
27
+
28
+
if ((DEFINEDUSE_DEFAULT_CM_EMU_SOURCE) OR (DEFINEDUSE_LOCAL_CM_EMU_SOURCE))
29
+
if (DEFINEDUSE_CM_EMU_PREBUILT_PACKAGE)
30
+
message(FATAL_ERROR"Configuration failure : Pre-built package and On-line building of CM_EMU library package cannot be applied together")
31
+
endif()
32
+
if ((DEFINEDUSE_DEFAULT_CM_EMU_SOURCE) AND (DEFINEDUSE_LOCAL_CM_EMU_SOURCE))
33
+
message(FATAL_ERROR"Configuration failure : Either default CM_EMU source or local source can be used for on-line CM building - not together")
34
+
endif()
35
+
if (WIN32)
36
+
message(FATAL_ERROR"Configuration failure : Online-building of CM_EMU library is not supported under Windows environment")
37
+
endif()
38
+
39
+
if (DEFINEDUSE_DEFAULT_CM_EMU_SOURCE)
40
+
message(STATUS"CM_EMU library package will be built online with source codes downloaded from ${DEFAULT_CM_EMU_SOURCE_URL}")
message(STATUS"Neither of USE_DEFAULT_CM_EMU_SOURCE, USE_LOCAL_CM_EMU_SOURCE, USE_CM_EMU_PREBUILT_PACKAGE is set, using prebuilt libCM from ${DEFAULT_CM_EMU_PREBUILT_PACKAGE}")
0 commit comments