cmake: restore canonical git.beafrancois.fr FetchContent URLs
cahute.beafrancois.fr is a host-local alias of one development PC; the
canonical Gitea name is git.beafrancois.fr. Machines where that name
does not resolve to the Gitea host can rewrite it locally with:
git config --global url."ssh://gitea@<host>:8329/".insteadOf \
"ssh://gitea@git.beafrancois.fr:8329/"
This commit is contained in:
@@ -21,10 +21,10 @@ The Viveris library itself lives unchanged in `src/modules/`. Everything
|
|||||||
new is in `src/bs/` (the REPL) and the project modules (`target/`,
|
new is in `src/bs/` (the REPL) and the project modules (`target/`,
|
||||||
`bscan/`, `spi_flash/`, `svf/`, `probes/`, `program/`, `arm_debug/`)
|
`bscan/`, `spi_flash/`, `svf/`, `probes/`, `program/`, `arm_debug/`)
|
||||||
sitting alongside the Viveris ones. The BSDL parser was extracted into
|
sitting alongside the Viveris ones. The BSDL parser was extracted into
|
||||||
a standalone library, **[libbsdl](ssh://gitea@cahute.beafrancois.fr:8329/electronics/libbsdl.git)**
|
a standalone library, **[libbsdl](ssh://gitea@git.beafrancois.fr:8329/electronics/libbsdl.git)**
|
||||||
(LGPL, seeded from the same Viveris loader), and is now pulled in via
|
(LGPL, seeded from the same Viveris loader), and is now pulled in via
|
||||||
CMake `FetchContent` instead of vendored. The SVF player core moved the
|
CMake `FetchContent` instead of vendored. The SVF player core moved the
|
||||||
same way into **[libsvf](ssh://gitea@cahute.beafrancois.fr:8329/electronics/libsvf.git)**
|
same way into **[libsvf](ssh://gitea@git.beafrancois.fr:8329/electronics/libsvf.git)**
|
||||||
(shared with the `wifi_jtag_programmer` Zephyr firmware, which plays SVF
|
(shared with the `wifi_jtag_programmer` Zephyr firmware, which plays SVF
|
||||||
through an embedded JTAG port); `src/modules/svf/` is now only the
|
through an embedded JTAG port); `src/modules/svf/` is now only the
|
||||||
bscan-backed glue. To build against local checkouts (side-by-side dev):
|
bscan-backed glue. To build against local checkouts (side-by-side dev):
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ include(FetchContent)
|
|||||||
set(BSDL_BUILD_CLI OFF CACHE BOOL "" FORCE)
|
set(BSDL_BUILD_CLI OFF CACHE BOOL "" FORCE)
|
||||||
set(BSDL_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
set(BSDL_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||||
FetchContent_Declare(bsdl
|
FetchContent_Declare(bsdl
|
||||||
GIT_REPOSITORY ssh://gitea@cahute.beafrancois.fr:8329/electronics/libbsdl.git
|
GIT_REPOSITORY ssh://gitea@git.beafrancois.fr:8329/electronics/libbsdl.git
|
||||||
GIT_TAG main
|
GIT_TAG main
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(bsdl)
|
FetchContent_MakeAvailable(bsdl)
|
||||||
@@ -23,7 +23,7 @@ FetchContent_MakeAvailable(bsdl)
|
|||||||
# Same pattern as libbsdl. Local checkout override:
|
# Same pattern as libbsdl. Local checkout override:
|
||||||
# -DFETCHCONTENT_SOURCE_DIR_SVF=/path/to/libsvf
|
# -DFETCHCONTENT_SOURCE_DIR_SVF=/path/to/libsvf
|
||||||
FetchContent_Declare(svf
|
FetchContent_Declare(svf
|
||||||
GIT_REPOSITORY ssh://gitea@cahute.beafrancois.fr:8329/electronics/libsvf.git
|
GIT_REPOSITORY ssh://gitea@git.beafrancois.fr:8329/electronics/libsvf.git
|
||||||
GIT_TAG main
|
GIT_TAG main
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(svf)
|
FetchContent_MakeAvailable(svf)
|
||||||
|
|||||||
Reference in New Issue
Block a user