aboutsummaryrefslogtreecommitdiff
path: root/ports/ensmallen
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-10-09 14:31:35 +0800
committerGitHub <noreply@github.com>2020-10-08 23:31:35 -0700
commit7e495c0773353de69f24f3af8aea0ae9a129508c (patch)
tree71f50594cea12aa7d76a7883670af91252ab557d /ports/ensmallen
parent956f73a6bde87c9ddc9f2a7f03994c526af68ba5 (diff)
downloadvcpkg-7e495c0773353de69f24f3af8aea0ae9a129508c.tar.gz
vcpkg-7e495c0773353de69f24f3af8aea0ae9a129508c.zip
[fastcdr/jack2/fcl/ensmallen/hwloc] Update to latest release (#13559)
Diffstat (limited to 'ports/ensmallen')
-rw-r--r--ports/ensmallen/CONTROL3
-rw-r--r--ports/ensmallen/portfile.cmake12
2 files changed, 8 insertions, 7 deletions
diff --git a/ports/ensmallen/CONTROL b/ports/ensmallen/CONTROL
index 39a63bc91..9c904f326 100644
--- a/ports/ensmallen/CONTROL
+++ b/ports/ensmallen/CONTROL
@@ -1,6 +1,5 @@
Source: ensmallen
-Version: 2.11.2
-Port-Version: 2
+Version: 2.14.2
Homepage: https://github.com/mlpack/ensmallen
Description: A header-only C++ library for mathematical optimization.
Build-Depends: openblas, lapack, armadillo
diff --git a/ports/ensmallen/portfile.cmake b/ports/ensmallen/portfile.cmake
index 065d12981..76be857ea 100644
--- a/ports/ensmallen/portfile.cmake
+++ b/ports/ensmallen/portfile.cmake
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mlpack/ensmallen
- REF ba0897d57f52db9578e5e44426eb3220d5bd917f # v2.11.2
- SHA512 715c87b407487c1b5f1b2e95c23151c80d84bda8e5bd879f71e41871bc9a10bb157acf67fa2814b180da4c426a842bf84f29ce0d3bd3a2df4bfab382f5bb04d3
+ REF 8d9c03715346f2048e61e3e370a6a6c7a5e55d3b # 2.14.2
+ SHA512 2aebdd485265f8f6adcf9eb00c78e5f79f5d19e62566bdfcd024c44443d5658a7b92ea4ca62c29041f1b512cf67f8148fdc8b6894c9aa4c69ef305580916e24a
HEAD_REF master
)
@@ -10,11 +10,13 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
- -DBUILD_TESTS=OFF
+ -DBUILD_TESTS=OFF
)
vcpkg_install_cmake()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
-file(INSTALL ${SOURCE_PATH}/COPYRIGHT.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ensmallen TARGET_PATH share/ensmallen)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
+file(INSTALL ${SOURCE_PATH}/COPYRIGHT.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)