Skip to content

Commit 5e537b1

Browse files
Merge pull request #20 from markfoodyburton/update-upstream
Update upstream
2 parents 1153104 + 504a7b0 commit 5e537b1

File tree

7 files changed

+13
-36
lines changed

7 files changed

+13
-36
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ cpmaddpackage(
2424
NAME SystemCLanguage
2525
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git
2626
GIT_SHALLOW True
27-
GIT_TAG master
27+
GIT_TAG main
2828
)
29-
if(SystemCLanguage_ADDED)
30-
set(SystemCLanguage_FOUND TRUE)
31-
endif()
3229

3330
cpmaddpackage(
3431
NAME initiator_id

report/CMakeLists.txt

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,14 @@ cpmaddpackage(
2424
NAME SystemCLanguage
2525
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git
2626
GIT_SHALLOW True
27-
GIT_TAG master
27+
GIT_TAG main
2828
)
2929

30-
cpmaddpackage(
31-
NAME
32-
RapidJSON
33-
GIT_REPOSITORY
34-
https://github.com/Tencent/rapidjson
35-
GIT_TAG
36-
e0f68a435610e70ab5af44fc6a90523d69b210b3
37-
GIT_SHALLOW
38-
FALSE
39-
OPTIONS
40-
"RAPIDJSON_BUILD_TESTS OFF"
41-
"RAPIDJSON_BUILD_DOC OFF"
42-
"RAPIDJSON_BUILD_EXAMPLES OFF")
43-
44-
set(RapidJSON_DIR "${RapidJSON_BINARY_DIR}")
45-
4630
cpmaddpackage(
4731
NAME SystemCCCI
4832
GIT_REPOSITORY ${GITHUB}accellera-official/cci.git
4933
GIT_SHALLOW True
50-
GIT_TAG master
34+
GIT_TAG main
5135
)
5236

5337
set(WITH_FMT "true" CACHE STRING "Include FMT library")

report/include/scp/helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static std::string scp_txn_tostring(tlm::tlm_generic_payload& trans) {
4646
<< (unsigned int)(ptr[i - 1]);
4747
}
4848
info << " status: " << trans.get_response_string() << " ";
49-
for (int i = 0; i < tlm::max_num_extensions(); i++) {
49+
for (unsigned int i = 0; i < tlm::max_num_extensions(); i++) {
5050
if (trans.get_extension(i)) {
5151
info << " extn:" << i;
5252
}

report/include/scp/report.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ class call_sc_name_fn
450450
// define a function IF NOT the method exists
451451
template <class TYPE>
452452
auto operator()(TYPE* p) const
453-
-> std::enable_if_t<not has_method<TYPE>, const char*> {
453+
-> std::enable_if_t<!has_method<TYPE>, const char*> {
454454
return nullptr;
455455
}
456456
};

report/src/report.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,11 +572,7 @@ sc_core::sc_verbosity cci_lookup(cci::cci_broker_handle broker,
572572
auto val = broker.get_preset_cci_value(param_name);
573573

574574
if (val.is_int()) {
575-
broker.ignore_unconsumed_preset_values(
576-
[param_name](const std::pair<std::string, cci::cci_value>& iv)
577-
-> bool { return iv.first == param_name; });
578575
broker.lock_preset_value(param_name);
579-
580576
return verbosity.at(
581577
std::min<unsigned>(val.get_int(), verbosity.size() - 1));
582578
}

tlm_extensions/initiator_id/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ include(${cpm-cmake_SOURCE_DIR}/cmake/CPM.cmake)
2121
cpmaddpackage("${GITHUB}TheLartians/[email protected]")
2222

2323
cpmaddpackage(
24-
NAME SystemCLanguage
25-
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git
26-
GIT_SHALLOW True
27-
GIT_TAG master
24+
NAME SystemCLanguage
25+
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git
26+
GIT_SHALLOW True
27+
GIT_TAG main
2828
)
2929

3030
add_library(${PROJECT_NAME} INTERFACE)

tlm_extensions/path_trace/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ include(${cpm-cmake_SOURCE_DIR}/cmake/CPM.cmake)
2121
cpmaddpackage("${GITHUB}TheLartians/[email protected]")
2222

2323
cpmaddpackage(
24-
NAME SystemCLanguage
25-
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git
26-
GIT_SHALLOW True
27-
GIT_TAG master
24+
NAME SystemCLanguage
25+
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git
26+
GIT_SHALLOW True
27+
GIT_TAG main
2828
)
2929

3030
add_library(${PROJECT_NAME} INTERFACE)

0 commit comments

Comments
 (0)