Skip to content

Commit 5f3af2c

Browse files
authored
Remove deprecated settings and bump Conan (#7149)
1 parent 4ee9968 commit 5f3af2c

File tree

4 files changed

+7
-24
lines changed

4 files changed

+7
-24
lines changed

.github/workflows/osrm-backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
5353
python3 -m venv .venv
5454
source .venv/Scripts/Activate
55-
python3 -m pip install conan==2.7.1
55+
python3 -m pip install conan==2.15.0
5656
conan profile detect --force
5757
5858
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONAN=ON -DENABLE_NODE_BINDINGS=ON ..
@@ -493,7 +493,7 @@ jobs:
493493
if [[ "${ENABLE_CONAN}" == "ON" ]]; then
494494
python3 -m venv .venv
495495
source .venv/bin/activate
496-
python3 -m pip install conan==2.7.1
496+
python3 -m pip install conan==2.15.0
497497
conan profile detect --force
498498
fi
499499

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Unreleased
2+
- Changes from 6.0.0 RC1
3+
- Features
4+
- REMOVED: Remove deprecated contractor config settings [#7149](https://github.com/Project-OSRM/osrm-backend/pull/7149)
5+
- Build:
6+
- CHANGED: Updated Conan to v2.15.0 [#7148](https://github.com/Project-OSRM/osrm-backend/pull/7148)
27

38
# 6.0.0 RC1
49
- Changes from 5.27.1

include/contractor/contractor_config.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,7 @@ struct ContractorConfig final : storage::IOConfig
5555

5656
updater::UpdaterConfig updater_config;
5757

58-
// DEPRECATED to be removed in v6.0
59-
bool use_cached_priority = false;
60-
6158
unsigned requested_num_threads = 0;
62-
63-
// DEPRECATED to be removed in v6.0
64-
// A percentage of vertices that will be contracted for the hierarchy.
65-
// Offers a trade-off between preprocessing and query time.
66-
// The remaining vertices form the core of the hierarchy
67-
//(e.g. 0.8 contracts 80 percent of the hierarchy, leaving a core of 20%)
68-
double core_factor = 1.0;
6959
};
7060
} // namespace osrm::contractor
7161

src/contractor/contractor.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ int Contractor::Run()
4040
tbb::global_control gc(tbb::global_control::max_allowed_parallelism,
4141
config.requested_num_threads);
4242

43-
if (config.core_factor != 1.0)
44-
{
45-
util::Log(logWARNING)
46-
<< "Using core factor is deprecated and will be ignored. Falling back to CH.";
47-
config.core_factor = 1.0;
48-
}
49-
50-
if (config.use_cached_priority)
51-
{
52-
util::Log(logWARNING) << "Using cached priorities is deprecated and they will be ignored.";
53-
}
54-
5543
TIMER_START(preparing);
5644

5745
util::Log() << "Reading node weights.";

0 commit comments

Comments
 (0)