mirror of
https://github.com/boostorg/bloom.git
synced 2026-01-19 04:02:11 +00:00
made ajustments after repo transfer to boostorg (#35)
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -230,7 +230,6 @@ jobs:
|
||||
cd ..
|
||||
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||
cd boost-root
|
||||
mkdir -p libs/$LIBRARY # remove when/if the library makes it into Boost
|
||||
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
|
||||
git submodule update --init tools/boostdep
|
||||
python3 tools/boostdep/depinst/depinst.py -I example --git_args "--jobs 3" $LIBRARY
|
||||
@@ -293,7 +292,6 @@ jobs:
|
||||
cd ..
|
||||
git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||
cd boost-root
|
||||
mkdir -p libs\%LIBRARY% # remove when/if the library makes it into Boost
|
||||
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
|
||||
git submodule update --init tools/boostdep
|
||||
python tools/boostdep/depinst/depinst.py -I example --git_args "--jobs 3" %LIBRARY%
|
||||
@@ -397,7 +395,6 @@ jobs:
|
||||
cd ..
|
||||
git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
||||
cd boost-root
|
||||
mkdir -p libs\%LIBRARY% # remove when/if the library makes it into Boost
|
||||
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
|
||||
git submodule update --init tools/boostdep
|
||||
python tools/boostdep/depinst/depinst.py -I benchmark -I example --git_args "--jobs 3" %LIBRARY%
|
||||
@@ -502,4 +499,4 @@ jobs:
|
||||
- name: Upload coverage
|
||||
env:
|
||||
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
|
||||
run: ci/codecov.sh "upload"
|
||||
run: ci/codecov.sh "upload"
|
||||
|
||||
37
README.md
37
README.md
@@ -1,10 +1,10 @@
|
||||
# Candidate Boost Bloom Library
|
||||
# Boost Bloom Library
|
||||
|
||||
[](https://github.com/joaquintides/bloom/tree/master) [](https://github.com/joaquintides/bloom/actions/workflows/ci.yml) [](https://drone.cpp.al/joaquintides/bloom) [](https://app.codecov.io/gh/joaquintides/bloom/tree/master) [](https://master.bloom.cpp.al/) </br>
|
||||
[](https://github.com/joaquintides/bloom/tree/develop) [](https://github.com/joaquintides/bloom/actions/workflows/ci.yml) [](https://drone.cpp.al/joaquintides/bloom) [](https://app.codecov.io/gh/joaquintides/bloom/tree/develop) [](https://develop.bloom.cpp.al/) </br>
|
||||
[](https://github.com/boostorg/bloom/tree/master) [](https://github.com/boostorg/bloom/actions/workflows/ci.yml) [](https://drone.cpp.al/boostorg/bloom) [](https://app.codecov.io/gh/joaquintides/bloom/tree/master) [](https://boost.org/doc/libs/master/libs/bloom) </br>
|
||||
[](https://github.com/boostorg/bloom/tree/develop) [](https://github.com/boostorg/bloom/actions/workflows/ci.yml) [](https://drone.cpp.al/boostorg/bloom) [](https://app.codecov.io/gh/joaquintides/bloom/tree/develop) [](https://boost.org/doc/libs/develop/libs/bloom) </br>
|
||||
[](https://www.boost.org/users/license.html) <img alt="C++11 required" src="https://img.shields.io/badge/standard-C%2b%2b11-blue.svg"> <img alt="Header-only library" src="https://img.shields.io/badge/build-header--only-blue.svg">
|
||||
|
||||
(Candidate) Boost.Bloom provides the class template `boost::bloom::filter` that
|
||||
Boost.Bloom provides the class template `boost::bloom::filter` that
|
||||
can be configured to implement a classical [Bloom filter](https://en.wikipedia.org/wiki/Bloom_filter)
|
||||
as well as variations discussed in the literature such as block filters, multiblock filters, and more.
|
||||
|
||||
@@ -41,21 +41,38 @@ int main()
|
||||
|
||||
## Learn about Boost.Bloom
|
||||
|
||||
* [Online documentation](https://develop.bloom.cpp.al/)
|
||||
* [Some benchmarks](https://github.com/joaquintides/boost_bloom_benchmarks)
|
||||
* [Online documentation](https://boost.org/libs/bloom)
|
||||
* [Some benchmarks](https://github.com/boostorg/boost_bloom_benchmarks)
|
||||
|
||||
## Install Boost.Bloom
|
||||
|
||||
Clone this repo, adjust your include paths and enjoy.
|
||||
Boost.Bloom is header-only and requires no building. A recent version of Boost is required.
|
||||
* [Download Boost](https://www.boost.org/users/download/) and you're ready to go (this is a header-only library requiring no building).
|
||||
* Using Conan 2: In case you don't have it yet, add an entry for Boost in your `conanfile.txt` (the example requires at least Boost 1.89):
|
||||
```
|
||||
[requires]
|
||||
boost/[>=1.89.0]
|
||||
```
|
||||
<ul>If you're not using any compiled Boost library, the following will skip building altogether:</ul>
|
||||
|
||||
```
|
||||
[options]
|
||||
boost:header_only=True
|
||||
```
|
||||
* Using vcpkg: Execute the command
|
||||
```
|
||||
vcpkg install boost-bloom
|
||||
```
|
||||
* Using CMake: [Boost CMake support infrastructure](https://github.com/boostorg/cmake)
|
||||
allows you to use CMake directly to download, build and consume all of Boost or
|
||||
some specific libraries.
|
||||
|
||||
## Support
|
||||
|
||||
* Join the **#boost** discussion group at [cpplang.slack.com](https://cpplang.slack.com/)
|
||||
([ask for an invite](https://cppalliance.org/slack/) if you’re not a member of this workspace yet)
|
||||
* [File an issue](https://github.com/joaquintides/bloom/issues)
|
||||
* [File an issue](https://github.com/boostorg/bloom/issues)
|
||||
|
||||
## Contribute
|
||||
|
||||
* [Pull requests](https://github.com/joaquintides/bloom/pulls) against **develop** branch are most welcome.
|
||||
* [Pull requests](https://github.com/boostorg/bloom/pulls) against **develop** branch are most welcome.
|
||||
Note that by submitting patches you agree to license your modifications under the [Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt).
|
||||
|
||||
@@ -12,6 +12,7 @@ constant boost_dependencies :
|
||||
/boost/core//boost_core
|
||||
/boost/throw_exception//boost_throw_exception
|
||||
/boost/type_traits//boost_type_traits
|
||||
;
|
||||
|
||||
project /boost/bloom ;
|
||||
|
||||
|
||||
@@ -9,10 +9,14 @@ import config : requires ;
|
||||
|
||||
project
|
||||
: requirements
|
||||
# <library>/boost/bloom//boost_bloom
|
||||
<library>/boost/bloom//boost_bloom
|
||||
[ requires cxx11_noexcept ] # used as a proxy for C++11 support
|
||||
;
|
||||
|
||||
exe basic : basic.cpp ;
|
||||
exe genome : genome.cpp : [ requires cxx17_if_constexpr ] ;
|
||||
exe serialization : serialization.cpp ;
|
||||
exe serialization
|
||||
: serialization.cpp
|
||||
: <library>/boost/core//boost_core
|
||||
<library>/boost/uuid//boost_uuid
|
||||
;
|
||||
@@ -13,7 +13,9 @@ import config : requires ;
|
||||
|
||||
project
|
||||
: requirements
|
||||
# <library>/boost/bloom//boost_bloom
|
||||
<library>/boost/bloom//boost_bloom
|
||||
<library>/boost/core//boost_core
|
||||
<library>/boost/mp11//boost_mp11
|
||||
[ requires cxx11_noexcept ] # used as a proxy for C++11 support
|
||||
<toolset>msvc:<cxxflags>-D_SCL_SECURE_NO_WARNINGS
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user