Skip to content

Commit 24da761

Browse files
committed
wip [ci skip]
1 parent 77feffb commit 24da761

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.github/setenv.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ function c4_show_info()
5353
*)
5454
;;
5555
esac
56-
set -x
56+
pwd
57+
ls -l
5758
git branch
5859
git rev-parse HEAD
5960
git tag || echo
@@ -151,6 +152,7 @@ function c4_run_target() # does not run in parallel
151152
target=$2
152153
build_dir=`pwd`/build/$id
153154
export CTEST_OUTPUT_ON_FAILURE=1
155+
export CTEST_PARALLEL_LEVEL=`_c4getnumcores`
154156
cmake --build $build_dir --config $BT --target $target -- $(_c4_generator_build_flags)
155157
}
156158

ext/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ c4core-check-sync: c4core-check-sync-src c4core-check-sync-dev
2424
c4core-check-list: c4core-check-list-src c4core-check-list-dev
2525
c4core-check-sync-src: c4core-clone
2626
@echo "check c4core list src..."
27+
@set -e ; \
2728
for s in $(C4CORE_SRC); do \
2829
( $(COLORDIFF) -u $(C4CORE_DIR_PROJ)/$$s $(C4CORE_DIR_SRC)/$$s ) ; \
2930
done
3031
@echo "check c4core sync src: PASS"
3132
c4core-check-sync-dev: c4core-clone
3233
@echo "check c4core list dev..."
34+
@set -e ; \
3335
for s in $(C4CORE_DEV); do \
3436
( $(COLORDIFF) -u $(C4CORE_DIR_PROJ)/$$s $(C4CORE_DIR_DEV)/$$s ) ; \
3537
done
@@ -71,7 +73,7 @@ $(C4CORE_DIR_GIT):
7173
c4core-clone: $(C4CORE_DIR_GIT) c4core-clone-check
7274
c4core-check-clone: c4core-clone-check
7375
c4core-clone-check: $(C4CORE_DIR_GIT)
74-
@ \
76+
@set -e ; \
7577
currsha=$$(git -C $(C4CORE_DIR_GIT) rev-parse HEAD) ; \
7678
currtag=$$(git -C $(C4CORE_DIR_GIT) tag --points-at HEAD || echo -n) ; \
7779
echo "c4core sha: $$currsha" ; \

ext/c4core.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
C4CORE_REPO := https://github.com/biojppm/c4core
44
# must be tag or a FULL commit hash; cannot be a branch name.
5-
C4CORE_TAG := v0.2.10
5+
C4CORE_TAG := 897cf0a4961cddc2feacb76559534cc257259a42

ext/c4core.src/c4/substr_fwd.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
namespace c4 {
77

88
#ifndef DOXYGEN
9-
template<class C> struct basic_substring;
10-
using csubstr = C4CORE_EXPORT basic_substring<const char>;
11-
using substr = C4CORE_EXPORT basic_substring<char>;
9+
template<class C> C4CORE_EXPORT struct basic_substring;
10+
using csubstr = basic_substring<const char>;
11+
using substr = basic_substring<char>;
1212
template<class T> struct is_string;
1313
template<class T> struct is_writeable_string;
1414
#endif // !DOXYGEN

test/test_install/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ project(ryml
33
DESCRIPTION "Test project for an installed ryml"
44
HOMEPAGE_URL "https://github.com/biojppm/rapidyaml"
55
LANGUAGES CXX)
6-
include(../../ext/c4core/cmake/c4Project.cmake)
7-
c4_project(VERSION 0.11.1
6+
include(../../proj/c4proj/c4Project.cmake)
7+
c4_project(VERSION 0.11.0
88
AUTHOR "Joao Paulo Magalhaes <dev@jpmag.me>")
99

1010

test/test_singleheader/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ project(ryml
33
DESCRIPTION "Single header version of ryml library for testing"
44
HOMEPAGE_URL "https://github.com/biojppm/rapidyaml"
55
LANGUAGES CXX)
6-
include(../../ext/c4core/cmake/c4Project.cmake)
7-
c4_project(VERSION 0.11.1
6+
include(../../proj/c4proj/c4Project.cmake)
7+
c4_project(VERSION 0.11.0
88
AUTHOR "Joao Paulo Magalhaes <dev@jpmag.me>")
99

1010
# amalgamate ryml to get the single header

0 commit comments

Comments
 (0)