mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:06:01 +08:00
[arpack-ng] Add new port (#29248)
* [arpack-ng] Add new port * [arpack-ng] Update versioning scheme * [arpack-ng] Update version database
This commit is contained in:
parent
65d4be0cd8
commit
5626cee5c4
34
ports/arpack-ng/portfile.cmake
Normal file
34
ports/arpack-ng/portfile.cmake
Normal file
@ -0,0 +1,34 @@
|
||||
include(vcpkg_find_fortran)
|
||||
vcpkg_find_fortran(FORTRAN_CMAKE)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO opencollab/arpack-ng
|
||||
REF ${VERSION}
|
||||
SHA512 fbcaa2179dd1aa5a39fc3e7d80f377ec90ddf16ef93184a88e6ecfc464ed97e5659f2cf578294ac3e0b0c0da6408c86acf5bbdce533e1e9d2a3121848340d282
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
set(ENV{FFLAGS} "$ENV{FFLAGS} -fPIC")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FORTRAN_CMAKE}
|
||||
-DMPI=OFF
|
||||
-DICB=ON
|
||||
-DICBEXMM=OFF
|
||||
-DEXAMPLES=OFF
|
||||
-DTESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME arpackng CONFIG_PATH lib/cmake/arpackng)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
4
ports/arpack-ng/usage
Normal file
4
ports/arpack-ng/usage
Normal file
@ -0,0 +1,4 @@
|
||||
The package arpack-ng provides CMake targets:
|
||||
|
||||
find_package(arpackng CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE ARPACK::ARPACK)
|
24
ports/arpack-ng/vcpkg.json
Normal file
24
ports/arpack-ng/vcpkg.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "arpack-ng",
|
||||
"version": "3.9.0",
|
||||
"description": "ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.",
|
||||
"homepage": "https://github.com/opencollab/arpack-ng",
|
||||
"license": "BSD-3-Clause",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"blas",
|
||||
"lapack",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-gfortran",
|
||||
"platform": "windows"
|
||||
}
|
||||
]
|
||||
}
|
9
versions/a-/arpack-ng.json
Normal file
9
versions/a-/arpack-ng.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ad2fd897c58d9cf2976a1be1efc10e36aa4e1af6",
|
||||
"version": "3.9.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
@ -204,6 +204,10 @@
|
||||
"baseline": "11.4.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"arpack-ng": {
|
||||
"baseline": "3.9.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"arrayfire": {
|
||||
"baseline": "3.8.0",
|
||||
"port-version": 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user