-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Replace robin-hood-hashing with unordered_dense
robin-hood-hashing is no longer developed. unordered_dense is its replacement, by the same author.
- Loading branch information
1 parent
63d67a9
commit 90b6179
Showing
9 changed files
with
46 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,30 +60,30 @@ jobs: | |
|
||
linux: | ||
runs-on: ubuntu-22.04 | ||
name: "linux (${{matrix.sanitize}} sanitizer, ${{matrix.config}}, robinhood ${{matrix.robin_hood}} )" | ||
name: "linux (${{matrix.sanitize}} sanitizer, ${{matrix.config}}, unordered_dense ${{matrix.unordered_dense}} )" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sanitize: [ address, thread ] | ||
config: [debug, release] | ||
robin_hood: [ "ON" ] | ||
unordered_dense: [ "ON" ] | ||
include: | ||
# Test with Robin Hood disabled | ||
# Test with unordered_dense disabled | ||
# Chromium build, and some package managers don't use it. | ||
- config: release | ||
robin_hood: "OFF" | ||
unordered_dense: "OFF" | ||
sanitize: address | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: lukka/get-cmake@latest | ||
- uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ matrix.config }}-${{ matrix.sanitize }}-${{matrix.robin_hood}} | ||
key: ${{ matrix.config }}-${{ matrix.sanitize }}-${{matrix.unordered_dense}} | ||
- run: sudo apt-get -qq update && sudo apt-get install -y libwayland-dev xorg-dev | ||
# This is to combat a bug when using 6.6 linux kernels with thread/address sanitizer | ||
# https://github.com/google/sanitizers/issues/1716 | ||
- run: sudo sysctl vm.mmap_rnd_bits=28 | ||
- run: python scripts/tests.py --build --config ${{ matrix.config }} --cmake='-DUSE_ROBIN_HOOD_HASHING=${{matrix.robin_hood}}' | ||
- run: python scripts/tests.py --build --config ${{ matrix.config }} --cmake='-DUSE_CUSTOM_HASH_MAP=${{matrix.unordered_dense}}' | ||
env: | ||
CFLAGS: -fsanitize=${{ matrix.sanitize }} | ||
CXXFLAGS: -fsanitize=${{ matrix.sanitize }} | ||
|
@@ -148,7 +148,7 @@ jobs: | |
build-ci/external/glslang/build/install | ||
build-ci/external/googltest/build/install | ||
build-ci/external/mimalloc/build/install | ||
build-ci/external/robin-hood-hashing/build/install | ||
build-ci/external/unordered_dense/build/install | ||
build-ci/external/SPIRV-Headers/build/install | ||
build-ci/external/SPIRV-Tools/build/install | ||
build-ci/external/Vulkan-Headers/build/install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters