-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[arpack-ng] Add new port #29248
[arpack-ng] Add new port #29248
Conversation
Failure on -- Found BLAS: D:/installed/x64-uwp/lib/openblas.lib
-- Using VCPKG FindLAPACK from package 'clapack'
-- LAPACK_DLL_DIR: D:/installed/x64-uwp/include/../bin;D:/installed/x64-uwp/include/../bin
-- Found LAPACK: optimized;D:/installed/x64-uwp/lib/lapack.lib;optimized;D:/installed/x64-uwp/lib/libf2c.lib;optimized;D:/installed/x64-uwp/lib/openblas.lib;debug;D:/installed/x64-uwp/debug/lib/lapackd.lib;debug;D:/installed/x64-uwp/debug/lib/libf2cd.lib;debug;D:/installed/x64-uwp/debug/lib/openblas.lib
CMake Error at CMakeLists.txt:300 (set_target_properties):
Property INTERFACE_LINK_LIBRARIES may not contain link-type keyword
"optimized". The INTERFACE_LINK_LIBRARIES property may contain
configuration-sensitive generator-expressions which may be used to specify
per-configuration rules. it relies on This leads to the trigger of this part of the upstream CMakeLists find_package(LAPACK REQUIRED)
# LAPACK::LAPACK target was already created at this point by FindLAPACK.cmake if cmake version >= 3.18
if (NOT TARGET LAPACK::LAPACK) # Create target "at hand" to ensure compatibility if cmake version < 3.18
add_library(LAPACK::LAPACK INTERFACE IMPORTED)
set_target_properties(LAPACK::LAPACK PROPERTIES INTERFACE_LINK_LIBRARIES "${LAPACK_LIBRARIES}")
endif() Is it something to fix upstream or vcpkg related ? Or simply disabling support for uwp On another note, I am quite surprised to see the package pass on arm |
I manually checked that the SHA in here is not affected by #29288 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/arpack-ng/vcpkg.json b/ports/arpack-ng/vcpkg.json
index 2302506..b56e399 100644
--- a/ports/arpack-ng/vcpkg.json
+++ b/ports/arpack-ng/vcpkg.json
@@ -4,7 +4,7 @@
"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",
+ "supports": "!uwp",
"dependencies": [
"blas",
"lapack",
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for arpack-ng have changed but the version was not updated
version: 2023-01-29
old SHA: 8818ebc8d15989b5ac8f19a2a2a2a8e065f95812
new SHA: 0f862bc522022971d4c294d9df3f44e3ba8b7e39
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
62e6945
to
82ebc5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for arpack-ng have changed but the version was not updated
version: 2023-01-29
old SHA: 8818ebc8d15989b5ac8f19a2a2a2a8e065f95812
new SHA: 0f862bc522022971d4c294d9df3f44e3ba8b7e39
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
82ebc5d
to
f4963c8
Compare
Ready for review I guess. Here some potential points of discussion:
|
Yes, the package is built through msys2 and mingw. It is similar in spirit to LAPACK Arpack-ng is a fork of arpack, the original package being unavailable/unmaintained. Hence the library name. More info on wiki and readme on their repo
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM as soon as upstream does the release to get versioning to match.
c619780
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for arpack-ng have changed but the version was not updated
version: 2023-01-29
old SHA: 0f862bc522022971d4c294d9df3f44e3ba8b7e39
new SHA: 5f8e3a22893654507fc8f8a29c7dd4e3a81df4b5
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
829b0dd
to
267447f
Compare
267447f
to
7d04280
Compare
7d04280
to
2c84c1a
Compare
Sorry for potential notification overload, I thought it was possible to re-request review from both. Also, looks like the bot is KO |
Thanks! |
See https://dev.azure.com/vcpkg/public/_build/results?buildId=86045&view=results I don't have a Windows machine here so I can't help you guys to fix that. |
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxxvcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.The PR is a draft and does not contain correct versioning scheme at the moment. I want to see if the results of the CI here and then request a new release upstream if no upstream changes needed, updated here afterwards when finalizing the PR. Only core package is integrated at the moment, all options are disabled.
This is a Fortran package with plenty of quirks (msys/mingw related on Windows especially), so there are some things I must have missed, feedback appreciated !
Minimal compiling example: arpack_mwe.zip