New commits:
commit a64b91bf41ae8dc034b5d57a30004c60eaecea43
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
vulkan/spirv-headers: version 2023.5.rc1
commit 76e55b0ca46c0d31f35f6b39ccf47ec835c1e4db
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
vulkan/spirv-headers: version 1.3.268.0
commit bcebd2ec7fae092706168ecf9b66a502d6da92b6
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
libs/robin-hood-hashing: new spell, Fast & memory
efficient hashtable based on robin hood hashing
for C++11/14/17/20
diff --git a/ChangeLog b/ChangeLog
index 4306be4..da341cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-12-10 Pavel Vinogradov <public AT sourcemage.org>
+ * libs/robin-hood-hashing: new spell, Fast & memory efficient
hashtable based
+ on robin hood hashing for C++11/14/17/20
+
2023-11-28 Pavel Vinogradov <public AT sourcemage.org>
* wm-addons/libsrm: new spell, Simple Rendering Manager
diff --git a/libs/robin-hood-hashing/BUILD b/libs/robin-hood-hashing/BUILD
new file mode 100755
index 0000000..fd13608
--- /dev/null
+++ b/libs/robin-hood-hashing/BUILD
@@ -0,0 +1,3 @@
+OPTS="-DRH_STANDALONE_PROJECT=OFF ${OPTS}" &&
+
+default_build
diff --git a/libs/robin-hood-hashing/CONFIGURE
b/libs/robin-hood-hashing/CONFIGURE
new file mode 100755
index 0000000..90942b1
--- /dev/null
+++ b/libs/robin-hood-hashing/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/CMAKE_CONFIGURE"
diff --git a/libs/robin-hood-hashing/DEPENDS b/libs/robin-hood-hashing/DEPENDS
new file mode 100755
index 0000000..f5544dd
--- /dev/null
+++ b/libs/robin-hood-hashing/DEPENDS
@@ -0,0 +1,5 @@
+. "${GRIMOIRE}/CMAKE_DEPENDS" &&
+
+if [[ "${ROBIN_HOOD_HASHING_BRANCH}" == "scm" ]]; then
+ depends git
+fi
diff --git a/libs/robin-hood-hashing/DETAILS b/libs/robin-hood-hashing/DETAILS
new file mode 100755
index 0000000..97f98ef
--- /dev/null
+++ b/libs/robin-hood-hashing/DETAILS
@@ -0,0 +1,28 @@
+. "${GRIMOIRE}/FUNCTIONS"
+. "${GRIMOIRE}/CMAKE_FUNCTIONS"
+ SPELL="robin-hood-hashing"
+if [[ "${ROBIN_HOOD_HASHING_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ SOURCE_URL[0]="git_http://github.com/martinus/${SPELL}:${SPELL}-scm:main"
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="3.11.5"
+
SOURCE_HASH="sha512:5f73e089b1e8ec41a9bedded22bc64a789d3a3d04873a2ad9f8cc2970797a473b0f4d3436c2324b3ced85a0d983998a75b1dfaf2b7f3b77235b29806ff2fd489"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]="https://github.com/martinus/${SPELL}/archive/refs/tags/${VERSION}.tar.gz"
+# Watch: https://github.com/martinus/robin-hood-hashing/tags
tags/([0-9.\-]+)[.]tar
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+fi
+ WEB_SITE="https://github.com/martinus/robin-hood-hashing"
+ ENTERED="20231210"
+ LICENSE[0]="MIT"
+ KEYWORDS="hashing library"
+ SHORT="Fast & memory efficient hashtable based on robin hood
hashing for C++11/14/17/20"
+cat << EOF
+ robin_hood::unordered_map and robin_hood::unordered_set is a platform
+independent replacement for std::unordered_map / std::unordered_set which is
+both faster and more memory efficient for real-world use cases.
+EOF
diff --git a/libs/robin-hood-hashing/HISTORY b/libs/robin-hood-hashing/HISTORY
new file mode 100644
index 0000000..b06495e
--- /dev/null
+++ b/libs/robin-hood-hashing/HISTORY
@@ -0,0 +1,4 @@
+2023-12-10 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, PREPARE: created the spell,
+ version 3.11.5
+
diff --git a/libs/robin-hood-hashing/PREPARE b/libs/robin-hood-hashing/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/libs/robin-hood-hashing/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm
diff --git a/vulkan/spirv-headers/DETAILS b/vulkan/spirv-headers/DETAILS
index a85b5a6..5a263b3 100755
--- a/vulkan/spirv-headers/DETAILS
+++ b/vulkan/spirv-headers/DETAILS
@@ -1,15 +1,16 @@
SPELL=spirv-headers
SPELLX=SPIRV-Headers
- VERSION=sdk-1.3.204.0
-
SOURCE_HASH=sha512:52411a51f4b54b86f4120d625c1e24271a106e07bfc1b0a4a7280e51f2a3dc471a03546ac07d89938f85005eeb16176cd731d4ae11bd9d0438791859afc4a5e7
- SOURCE=$SPELL-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELLX-$VERSION
+ VERSION=1.3.268.0
+
SOURCE_HASH="sha512:3500c299a51dacc3e89066cfcfa8762cb6bc1be10ffff492fb3041831627e065cd836e3e0165df750dd22873a1772d916158e1e1c4701dc60efbb2edb17753ca"
+ SOURCE="${SPELL}-sdk-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-vulkan-sdk-${VERSION}"
WEB_SITE=https://github.com/KhronosGroup/$SPELLX
- SOURCE_URL[0]=$WEB_SITE/archive/refs/tags/$VERSION.tar.gz
+ SOURCE_URL[0]="${WEB_SITE}/archive/refs/tags/vulkan-sdk-${VERSION}.tar.gz"
+# Watch: https://github.com/KhronosGroup/SPIRV-Headers/tags
tags/vulkan\-sdk\-([0-9.]+)[.]tar
LICENSE[0]=APACHE
ENTERED=20180308
KEYWORDS=""
- SHORT=""
+ SHORT="SPIRV-Headers"
cat << EOF
SPIRV-Headers - header files for Vulkan
EOF
diff --git a/vulkan/spirv-headers/HISTORY b/vulkan/spirv-headers/HISTORY
index a8dda6c..a7c450a 100644
--- a/vulkan/spirv-headers/HISTORY
+++ b/vulkan/spirv-headers/HISTORY
@@ -1,3 +1,8 @@
+2023-12-10 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 1.3.268.0, refactored source url, tarbsll name,
build
+ directory and added Watch line, added SHORT
+ * INSTALL: removed, not needed anymore
+
2022-02-19 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version sdk-1.3.204