Skip to content

Commit 2094e20

Browse files
committed
🔥 Remove sc
1 parent 0d67cc1 commit 2094e20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+295
-1239
lines changed

CMakeLists.txt

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,16 @@ include(cmake/string_catalog.cmake)
2525
add_versioned_package("gh:boostorg/mp11#boost-1.83.0")
2626
fmt_recipe(10.2.1)
2727
add_versioned_package("gh:intel/cpp-baremetal-concurrency#1108849")
28-
add_versioned_package("gh:intel/cpp-std-extensions#25911ff")
28+
add_versioned_package("gh:intel/cpp-std-extensions#a3886fa")
2929
add_versioned_package("gh:intel/cpp-baremetal-senders-and-receivers#8510ecc")
3030

3131
set(GEN_STR_CATALOG
3232
${CMAKE_CURRENT_LIST_DIR}/tools/gen_str_catalog.py
3333
CACHE FILEPATH "Location of script to generate a string catalog")
3434

35-
add_library(cib_sc INTERFACE)
36-
target_compile_features(cib_sc INTERFACE cxx_std_20)
37-
target_link_libraries_system(cib_sc INTERFACE fmt::fmt-header-only stdx)
38-
39-
target_sources(
40-
cib_sc
41-
INTERFACE FILE_SET
42-
sc
43-
TYPE
44-
HEADERS
45-
BASE_DIRS
46-
include
47-
FILES
48-
include/sc/format.hpp
49-
include/sc/fwd.hpp
50-
include/sc/lazy_string_format.hpp
51-
include/sc/string_constant.hpp)
52-
5335
add_library(cib_match INTERFACE)
5436
target_compile_features(cib_match INTERFACE cxx_std_20)
55-
target_link_libraries_system(cib_match INTERFACE cib_sc stdx)
37+
target_link_libraries_system(cib_match INTERFACE stdx)
5638

5739
target_sources(
5840
cib_match
@@ -79,7 +61,7 @@ target_sources(
7961

8062
add_library(cib_interrupt INTERFACE)
8163
target_compile_features(cib_interrupt INTERFACE cxx_std_20)
82-
target_link_libraries_system(cib_interrupt INTERFACE cib_sc concurrency stdx)
64+
target_link_libraries_system(cib_interrupt INTERFACE concurrency stdx)
8365

8466
target_sources(
8567
cib_interrupt
@@ -123,7 +105,7 @@ target_sources(
123105

124106
add_library(cib_log INTERFACE)
125107
target_compile_features(cib_log INTERFACE cxx_std_20)
126-
target_link_libraries_system(cib_log INTERFACE cib_sc stdx)
108+
target_link_libraries_system(cib_log INTERFACE stdx)
127109

128110
target_sources(
129111
cib_log
@@ -146,7 +128,6 @@ target_link_libraries_system(
146128
cib_log
147129
cib_lookup
148130
cib_match
149-
cib_sc
150131
stdx)
151132

152133
target_sources(
@@ -237,7 +218,7 @@ target_sources(
237218

238219
add_library(cib_flow INTERFACE)
239220
target_compile_features(cib_flow INTERFACE cxx_std_20)
240-
target_link_libraries_system(cib_flow INTERFACE cib_log cib_nexus cib_sc stdx)
221+
target_link_libraries_system(cib_flow INTERFACE cib_log cib_nexus stdx)
241222

242223
target_sources(
243224
cib_flow
@@ -262,14 +243,7 @@ target_sources(
262243

263244
add_library(cib_seq INTERFACE)
264245
target_compile_features(cib_seq INTERFACE cxx_std_20)
265-
target_link_libraries_system(
266-
cib_seq
267-
INTERFACE
268-
cib_flow
269-
cib_log
270-
cib_nexus
271-
cib_sc
272-
stdx)
246+
target_link_libraries_system(cib_seq INTERFACE cib_flow cib_log cib_nexus stdx)
273247

274248
target_sources(
275249
cib_seq
@@ -299,7 +273,6 @@ target_link_libraries_system(
299273
cib_match
300274
cib_msg
301275
cib_nexus
302-
cib_sc
303276
cib_seq
304277
concurrency
305278
fmt::fmt-header-only
@@ -329,7 +302,6 @@ if(PROJECT_IS_TOP_LEVEL)
329302
clang_tidy_interface(cib_match)
330303
clang_tidy_interface(cib_msg)
331304
clang_tidy_interface(cib_nexus)
332-
clang_tidy_interface(cib_sc)
333305
clang_tidy_interface(cib_seq)
334306

335307
# Enable functional and performance test suites.

README.md

Lines changed: 0 additions & 186 deletions
This file was deleted.

docs/index.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ include::logging.adoc[]
1313
include::interrupts.adoc[]
1414
include::match.adoc[]
1515
include::message.adoc[]
16-
include::sc.adoc[]
1716
include::implementation_details.adoc[]

docs/intro.adoc

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ _cib_ contains several parts that work together:
4747
- xref:interrupt.adoc#_the_interrupt_library[`interrupt`]
4848
- xref:match.adoc#_the_match_library[`match`]
4949
- xref:message.adoc#_the_message_library[`message`]
50-
- xref:sc.adoc#_the_sc_string_constant_library[`sc` (string constant)]
5150

5251
=== Sub-library DAG
5352

@@ -57,24 +56,21 @@ library that contains all the functionality.
5756
[mermaid, format="svg"]
5857
----
5958
flowchart BT
60-
sc(cib_sc)
6159
nexus(cib_nexus)
6260
lookup(cib_lookup)
61+
log(cib_log)
62+
match(cib_match)
6363
6464
flow(cib_flow) --> nexus
6565
flow --> log
6666
67-
interrupt(cib_interrupt) --> sc
68-
match(cib_match) --> sc
69-
log(cib_log) --> sc
70-
71-
7267
log_fmt(cib_log_fmt) --> log
7368
msg(cib_msg) --> log & match
7469
msg --> lookup
7570
7671
log_mipi(cib_log_mipi) --> msg
7772
seq(cib_seq) --> flow
7873
79-
cib --> interrupt & seq & log_fmt & log_mipi
74+
interrupt(cib_interrupt)
75+
cib(cib) --> interrupt & seq & log_fmt & log_mipi
8076
----

0 commit comments

Comments
 (0)