Help CMake find Clang's libraries.
Have it install the ICD file in the right place.
diff --git a/CMake/FindLLVM.cmake b/CMake/FindLLVM.cmake
index 5457f248..e8e8f94a 100644
--- a/CMake/FindLLVM.cmake
+++ b/CMake/FindLLVM.cmake
@@ -107,7 +107,7 @@ endif (LLVM_VERSION_NODOT VERSION_GREATER 34)
macro(add_one_lib name)
FIND_LIBRARY(CLANG_LIB
NAMES ${name}
- PATHS ${LLVM_LIBRARY_DIR} NO_DEFAULT_PATH)
+ PATHS ${CLANG_LIBRARY_DIR} NO_DEFAULT_PATH)
set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_LIB})
unset(CLANG_LIB CACHE)
endmacro()
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c11acbb2..fb99e5c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,7 +217,7 @@ IF(OCLIcd_FOUND)
"intel-beignet.icd.in"
"${ICD_FILE_NAME}"
)
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION etc/OpenCL/vendors COMPONENT config)
ELSE(OCLIcd_FOUND)
MESSAGE(STATUS "Looking for OCL ICD header file - not found")
MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.")
--
2.14.3
href='/guix/tree/gnu/packages/vim.scm?id=cbcee106b528101e505ac199587711d6dea02370'>treecommitdiff
|
Age | Commit message (Expand) | Author |
2023-07-05 | gnu: vim-full: Remove expat linker workaround....Python has correctly linked with expat for several years now.
* gnu/packages/vim.scm (vim-full)[arguments]: Remove make-flags.
| Efraim Flashner |
2023-07-05 | gnu: vim: Update to 9.0.1672....* gnu/packages/vim.scm (vim): Update to 9.0.1672.
[arguments]: Adjust custom 'skip-or-fix-failing-tests to skip another
test.
| Efraim Flashner |
2023-07-01 | gnu: neovim: Update to 0.9.1....* gnu/packages/vim.scm (neovim): Update to 0.9.1.
Signed-off-by: Christopher Baines <mail@cbaines.net>
| Benjamin |
2023-05-23 | gnu: vim-guix-vim: Update to 0.4.0....* gnu/packages/vim.scm (vim-guix-vim): Update to 0.4.0.
[source]: Download from new upstream URL.
[home-page]: Use new home-page.
| Efraim Flashner |
2023-05-14 | gnu: vim: Update to 9.0.1384....* gnu/packages/vim.scm (vim): Update to 9.0.1384.
| Efraim Flashner |
2023-05-07 | gnu: neovim update to 0.9.0....* gnu/packages/vim.scm (neovim): Update to 0.9.0.
[arguments]: Adjust phase 'prevent-embedding-gcc-store-path to changes
in the source code.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
| Benjamin |
2023-05-04 | gnu: vifm: Update to 0.13....* gnu/packages/vim.scm (vifm): Update to 0.13.
[arguments]: Adjust substitutions in custom 'patch-test-shebangs phase.
| Efraim Flashner |