File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ if (BLAS_FOUND)
8181 target_link_libraries (ggml-blas PRIVATE ${BLAS_LIBRARIES} )
8282 target_include_directories (ggml-blas PRIVATE ${BLAS_INCLUDE_DIRS} )
8383else ()
84- message (ERROR "BLAS not found, please refer to "
85- "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
86- " to set correct GGML_BLAS_VENDOR" )
84+ message (FATAL_ERROR "BLAS not found, please refer to "
85+ "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
86+ " to set correct GGML_BLAS_VENDOR" )
8787endif ()
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ elseif(SUPPORTS_SYCL)
1313 If you expected the oneAPI Release compiler, please install oneAPI & source it, like:
1414 source /opt/intel/oneapi/setvars.sh" )
1515else ()
16- message (FATAL_ERROR, "C++ compiler lacks SYCL support." )
16+ message (FATAL_ERROR "C++ compiler lacks SYCL support." )
1717endif ()
1818message (STATUS "SYCL found" )
1919#todo: AOT
@@ -170,7 +170,7 @@ else()
170170 target_compile_definitions (ggml-sycl PRIVATE GGML_SYCL_NVIDIA)
171171 elseif (GGML_SYCL_TARGET STREQUAL "AMD" )
172172 if (NOT GGML_SYCL_DEVICE_ARCH)
173- message (ERROR "Can't enable SYCL hip backend, GGML_SYCL_DEVICE_ARCH has not been set." )
173+ message (FATAL_ERROR "Can't enable SYCL hip backend, GGML_SYCL_DEVICE_ARCH has not been set." )
174174 endif ()
175175 target_link_libraries (ggml-sycl PRIVATE ONEMATH::onemath_blas_rocblas)
176176 target_compile_options (ggml-sycl PRIVATE "-fsycl-targets=amdgcn-amd-amdhsa" )
You can’t perform that action at this time.
0 commit comments