mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-22 10:37:10 +01:00
[clblas] Fix build error (#8919)
* [clblas] Fix build error * [clblas] Fix build error * Remove include(vcpkg_common_functions)
This commit is contained in:
parent
ed863b163c
commit
09b6a74b43
@ -1,4 +1,4 @@
|
||||
Source: clblas
|
||||
Version: 2.12-3
|
||||
Version: 2.12-4
|
||||
Build-Depends: opencl
|
||||
Description: clBLAS is an OpenCL 1.2 accelerated BLAS (Basic Linear Algebra Subsystem) library.
|
||||
|
16
ports/clblas/Fix-BuildDLL.patch
Normal file
16
ports/clblas/Fix-BuildDLL.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt
|
||||
index f2d5a88..8f84133 100644
|
||||
--- a/src/library/CMakeLists.txt
|
||||
+++ b/src/library/CMakeLists.txt
|
||||
@@ -910,11 +910,6 @@ endif( )
|
||||
|
||||
include( InstallRequiredSystemLibraries )
|
||||
|
||||
-# Install necessary runtime files for debug builds
|
||||
-install( PROGRAMS ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
|
||||
- CONFIGURATIONS Debug
|
||||
- DESTINATION ${CLBLAS_RUNTIME_DESTINATION} )
|
||||
-
|
||||
# Install all *.pdb files for debug builds
|
||||
install( DIRECTORY ${PROJECT_BINARY_DIR}/staging/
|
||||
DESTINATION ${CLBLAS_RUNTIME_DESTINATION}
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO clMathLibraries/clBLAS
|
||||
@ -8,6 +6,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
cmake.patch
|
||||
Fix-BuildDLL.patch
|
||||
)
|
||||
|
||||
# v2.12 has a very old FindOpenCL.cmake using OPENCL_ vs. OpenCL_ var names
|
||||
@ -37,9 +36,6 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
${CURRENT_PACKAGES_DIR}/debug/bin/clBLAS-tune.pdb
|
||||
${CURRENT_PACKAGES_DIR}/debug/bin/clBLAS-tune.exe
|
||||
${CURRENT_PACKAGES_DIR}/bin/clBLAS-tune.exe
|
||||
${CURRENT_PACKAGES_DIR}/debug/bin/concrt140d.dll
|
||||
${CURRENT_PACKAGES_DIR}/debug/bin/msvcp140d.dll
|
||||
${CURRENT_PACKAGES_DIR}/debug/bin/vcruntime140d.dll
|
||||
)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user