diff options
Diffstat (limited to 'vcpkg/scripts/test_ports/cblas-test')
| -rw-r--r-- | vcpkg/scripts/test_ports/cblas-test/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | vcpkg/scripts/test_ports/cblas-test/portfile.cmake | 5 | ||||
| -rw-r--r-- | vcpkg/scripts/test_ports/cblas-test/vcpkg.json | 19 |
3 files changed, 29 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/cblas-test/CMakeLists.txt b/vcpkg/scripts/test_ports/cblas-test/CMakeLists.txt new file mode 100644 index 0000000..743ddb6 --- /dev/null +++ b/vcpkg/scripts/test_ports/cblas-test/CMakeLists.txt @@ -0,0 +1,5 @@ +cmake_minimum_required(VERSION 3.17) + +project(Find_CBLAS_external) +find_package(PkgConfig REQUIRED) +pkg_check_modules(CBLAS_PC REQUIRED IMPORTED_TARGET cblas) diff --git a/vcpkg/scripts/test_ports/cblas-test/portfile.cmake b/vcpkg/scripts/test_ports/cblas-test/portfile.cmake new file mode 100644 index 0000000..b6904bf --- /dev/null +++ b/vcpkg/scripts/test_ports/cblas-test/portfile.cmake @@ -0,0 +1,5 @@ +SET(VCPKG_POLICY_EMPTY_PACKAGE enabled) + +# Make sure BLAS can be found +vcpkg_cmake_configure(SOURCE_PATH "${CURRENT_PORT_DIR}" + OPTIONS -DVCPKG_HOST_TRIPLET=${HOST_TRIPLET}) diff --git a/vcpkg/scripts/test_ports/cblas-test/vcpkg.json b/vcpkg/scripts/test_ports/cblas-test/vcpkg.json new file mode 100644 index 0000000..6b1df97 --- /dev/null +++ b/vcpkg/scripts/test_ports/cblas-test/vcpkg.json @@ -0,0 +1,19 @@ +{ + "$comment": "Keep the platform expressions in sync with the wrappers installed by the portfiles!", + "name": "cblas-test", + "version-date": "2022-04-22", + "description": "Metapackage for packages which provide BLAS", + "license": null, + "dependencies": [ + "cblas", + { + "name": "pkgconf", + "host": true, + "platform": "windows" + }, + { + "name": "vcpkg-cmake", + "host": true + } + ] +} |