aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Facioni <francisco@remyrobotics.com>2021-05-18 07:47:21 +0100
committerGitHub <noreply@github.com>2021-05-17 23:47:21 -0700
commitca466d339ea8673a8702d04374df40e1782f1430 (patch)
tree7e7cc6d5c72c67153f6ebb5975ec437b1e94d772
parentebdbcd2e4735f3dc9ade9813e27490f8e7296618 (diff)
downloadvcpkg-ca466d339ea8673a8702d04374df40e1782f1430.tar.gz
vcpkg-ca466d339ea8673a8702d04374df40e1782f1430.zip
[robin-map] add target and cleanup (#17361)
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
-rw-r--r--ports/robin-map/CONTROL3
-rw-r--r--ports/robin-map/portfile.cmake19
-rw-r--r--ports/robin-map/vcpkg.json17
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/r-/robin-map.json9
5 files changed, 36 insertions, 14 deletions
diff --git a/ports/robin-map/CONTROL b/ports/robin-map/CONTROL
deleted file mode 100644
index 753609276..000000000
--- a/ports/robin-map/CONTROL
+++ /dev/null
@@ -1,3 +0,0 @@
-Source: robin-map
-Version: 0.6.3
-Description: A C++ implementation of a fast hash map and hash set using robin hood hashing
diff --git a/ports/robin-map/portfile.cmake b/ports/robin-map/portfile.cmake
index 1cba8bb47..209bda9fc 100644
--- a/ports/robin-map/portfile.cmake
+++ b/ports/robin-map/portfile.cmake
@@ -1,15 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Tessil/robin-map
- REF 622443f40544fb6a693402e69c1328d685eac939 # v0.6.3
- SHA512 ec91ee3ce1a992cfc1b82c17d8d0d1d1af7078df9871b585526a81e1e05162b844958d3bf61badad191902d837832e29dc254755965410beac702ddf15c55a49
+ REF v0.6.3
+ SHA512 485557f300d33bda62bb8accdf246819ee8ffe956bc022e7ddca54ff6ad1a9fdb8db8d80690add3ef238e834d1eb8e2905920cb0a0674e7df010f6946d01297b
HEAD_REF master
)
-file(COPY ${SOURCE_PATH}/include/tsl DESTINATION ${CURRENT_PACKAGES_DIR}/include)
-
-file(INSTALL
- ${SOURCE_PATH}/LICENSE
- DESTINATION ${CURRENT_PACKAGES_DIR}/share/robin-map
- RENAME copyright
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/tsl-robin-map)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/robin-map/vcpkg.json b/ports/robin-map/vcpkg.json
new file mode 100644
index 000000000..b200ae5c4
--- /dev/null
+++ b/ports/robin-map/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "robin-map",
+ "version-semver": "0.6.3",
+ "port-version": 1,
+ "description": "A C++ implementation of a fast hash map and hash set using robin hood hashing",
+ "homepage": "https://github.com/Tessil/robin-map",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index df70bbe2a..474c0ede3 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5378,7 +5378,7 @@
},
"robin-map": {
"baseline": "0.6.3",
- "port-version": 0
+ "port-version": 1
},
"rocksdb": {
"baseline": "6.14.6",
diff --git a/versions/r-/robin-map.json b/versions/r-/robin-map.json
index 15d9780f8..94e2dbd7e 100644
--- a/versions/r-/robin-map.json
+++ b/versions/r-/robin-map.json
@@ -1,8 +1,13 @@
{
"versions": [
{
- "git-tree": "84f1433234bb4813feee71e4042174ec9e8d5a7a",
- "version-string": "0.6.3",
+ "git-tree": "95d49e16c7a8ef523608ef8e7d8fb019085789b8",
+ "version-semver": "0.6.3",
+ "port-version": 1
+ },
+ {
+ "git-tree": "3a6eb0ea067edf2d06baa7706281caf96df4216a",
+ "version-semver": "0.6.3",
"port-version": 0
},
{