Skip to content
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

[ginkgo] Update to 1.4.0 #19731

Merged
merged 5 commits into from
Aug 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[ginkgo] add release 1.4.0
upsj committed Aug 24, 2021
commit 4994cce7f36ed71338902f36174a0d237ac04c63
86 changes: 0 additions & 86 deletions ports/ginkgo/cmake-fixes.patch

This file was deleted.

10 changes: 6 additions & 4 deletions ports/ginkgo/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ginkgo-project/ginkgo
REF v1.3.0
SHA512 40db39666730a2120d0c5e197518f784aab71655781c037fb83302a346f6bf717e5c58491e9b29b9adacb492328e11bc60960f99323c220d53505ecab6489871
REF v1.4.0
SHA512 9bfcb2c415c7a1a70cf8e49f20adf62d02cab83bb23b6fcecfeaeeb322b2d4e1ad8d8fa6582735073753f9a05eac8688b9bd1ff1d4203957c1a80702d117e807
HEAD_REF master
PATCHES
cmake-fixes.patch
windows-iterator.patch
windows-symbols.patch
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@@ -23,6 +22,8 @@ vcpkg_cmake_configure(
-DGINKGO_BUILD_TESTS=OFF
-DGINKGO_BUILD_EXAMPLES=OFF
-DGINKGO_BUILD_HIP=OFF
-DGINKGO_BUILD_DPCPP=OFF
-DGINKGO_BUILD_HWLOC=OFF
-DGINKGO_BUILD_BENCHMARKS=OFF
-DGINKGO_DEVEL_TOOLS=OFF
-DGINKGO_SKIP_DEPENDENCY_UPDATE=ON
@@ -36,5 +37,6 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Ginkgo)
vcpkg_fixup_pkgconfig()

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/ginkgo" RENAME copyright)
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/ginkgo")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
4 changes: 4 additions & 0 deletions ports/ginkgo/usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The package ginkgo:x64-windows provides CMake targets:
upsj marked this conversation as resolved.
Show resolved Hide resolved

find_package(Ginkgo CONFIG REQUIRED)
target_link_libraries(main PRIVATE Ginkgo::ginkgo)
4 changes: 2 additions & 2 deletions ports/ginkgo/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ginkgo",
"version-semver": "1.3.0",
"description": "Ginkgo is a high-performance linear algebra library for manycore systems, with a focus on sparse solution of linear systems. Note that the OpenMP feature is not available on Windows, and the CUDA feature on Windows requires the CUDACXX environment variable to point to the CUDA nvcc.exe compiler with VCPKG_KEEP_ENV_VARS set to CUDACXX to pass its value through to the vcpkg environment.",
"version-semver": "1.4.0",
"description": "Ginkgo is a high-performance linear algebra library for manycore systems, with a focus on sparse solution of linear systems. Note that the OpenMP feature is not available on Windows.",
"dependencies": [
{
"name": "vcpkg-cmake",
117 changes: 0 additions & 117 deletions ports/ginkgo/windows-iterator.patch

This file was deleted.

710 changes: 710 additions & 0 deletions ports/ginkgo/windows-symbols.patch

Large diffs are not rendered by default.