mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-15 03:35:40 +00:00
Many linux distros (e.g., Fedora) strongly discourage bundling or
vendoring dependencies. Many of them also include a `cxxopts-devel`
package. This patch adds support for un-vendoring `cxxopts` by:
1. `libs/cxxopts` vendored submodule build conditional on
`YOSYS_WITH_PKG_DEPS == OFF`
2. use implicit `<cxxopts.hpp>` instead of explicit hard-coded
path to vendored header file
3. conditionally provide additional implicit include path to
`cxxopts.hpp` and library dependency for `kernel/CMakeLists.txt`
Note that the current existing behavior remains the default.
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
|
||
|---|---|---|
| .. | ||
| bigint | ||
| boost_regex@2b3ac0834f | ||
| cxxopts@4bf61f0869 | ||
| dlfcn-win32 | ||
| ezsat | ||
| flex | ||
| fmt@1be298e1bd | ||
| fst | ||
| json11 | ||
| minisat | ||
| sha1 | ||
| slang@6175750969 | ||
| subcircuit | ||
| tomlplusplus@a43ad37872 | ||
| CMakeLists.txt | ||