3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-15 03:35:40 +00:00
yosys/libs
Gabriel Somlo 45ecf0c419 CMake: cxxopts: support building with distro-packaged dependency
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>
2026-07-12 10:51:00 -04:00
..
bigint Migrate build system to CMake 2026-06-03 08:58:10 +00:00
boost_regex@2b3ac0834f Slang frontend integration 2026-07-06 15:49:56 +02:00
cxxopts@4bf61f0869 driver: switch to cxxopts, replace -B 2024-10-09 15:21:34 +02:00
dlfcn-win32 Fix Windows portability issues that break MSVC build. 2026-06-03 08:58:11 +00:00
ezsat Migrate build system to CMake 2026-06-03 08:58:10 +00:00
flex Migrate build system to CMake 2026-06-03 08:58:10 +00:00
fmt@1be298e1bd Slang frontend integration 2026-07-06 15:49:56 +02:00
fst Update lz4 to 1.10.0 for CVE-2014-4715, CVE-2021-3520, CVE-2019-17543 2026-06-18 07:00:59 +00:00
json11 Migrate build system to CMake 2026-06-03 08:58:10 +00:00
minisat use env for bash 2026-06-05 09:18:05 +02:00
sha1 Migrate build system to CMake 2026-06-03 08:58:10 +00:00
slang@6175750969 Slang frontend integration 2026-07-06 15:49:56 +02:00
subcircuit Migrate build system to CMake 2026-06-03 08:58:10 +00:00
tomlplusplus@a43ad37872 Slang frontend integration 2026-07-06 15:49:56 +02:00
CMakeLists.txt CMake: cxxopts: support building with distro-packaged dependency 2026-07-12 10:51:00 -04:00