summaryrefslogtreecommitdiff
path: root/intro2-tour.orig
diff options
context:
space:
mode:
Diffstat (limited to 'intro2-tour.orig')
-rw-r--r--intro2-tour.orig381
1 files changed, 195 insertions, 186 deletions
diff --git a/intro2-tour.orig b/intro2-tour.orig
index fafd36b..02f006e 100644
--- a/intro2-tour.orig
+++ b/intro2-tour.orig
@@ -64,38 +64,37 @@ license: other: proprietary ; Not free/open source.
description-file: README.md
url: https://example.org/hello
email: boris@codesynthesis.com
-depends: * build2 >= 0.13.0-
-depends: * bpkg >= 0.13.0-
+#build-error-email: boris@codesynthesis.com
+depends: * build2 >= 0.14.0-
+depends: * bpkg >= 0.14.0-
#depends: libhello ^1.0.0
+ bdep init -C ../hello-gcc @gcc cc config.cxx=g++
initializing in project /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
-+ ls -d -1 ../hello ../hello-clang ../hello-gcc ../hello-gcc-1 ../hello.git
++ ls -d -1 ../hello ../hello-clang ../hello-gcc
../hello
../hello-clang
../hello-gcc
-../hello-gcc-1
-../hello.git
+ bdep init -C ../hello-vc-debug @debug cc config.cxx=cl-15 config.cc.coptions=/MDd /Z7 config.cc.loptions=/DEBUG
initializing in project /tmp/hello/
-created configuration @debug /tmp/hello-vc-debug/ 3 auto-synchronized
+created configuration @debug /tmp/hello-vc-debug/ 3 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep init -C ../hello-vc-release @release cc config.cxx=cl-15 config.cc.coptions=/O2
initializing in project /tmp/hello/
-created configuration @release /tmp/hello-vc-release/ 4 auto-synchronized
+created configuration @release /tmp/hello-vc-release/ 4 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -168,7 +167,7 @@ test hello/testscript{testscript}@../hello-clang/hello/hello/ ../hello-clang/hel
+ bdep init -C ../hello-mingw @mingw cc config.cxx=x86_64-w64-mingw32-g++
initializing in project /tmp/hello/
-created configuration @mingw /tmp/hello-mingw/ 5 auto-synchronized
+created configuration @mingw /tmp/hello-mingw/ 5 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -181,13 +180,13 @@ ld ../hello-mingw/hello/hello/exe{hello}
test hello/testscript{testscript}@../hello-mingw/hello/hello/ ../hello-mingw/hello/hello/exe{hello}
+ ../hello-mingw/hello/hello/hello.exe Windows
-Hello, Windows!
+Hello, Windows!
+ git add .
+ git commit -m Initial implementation
-[master (root-commit) 4d5dc0f] Initial implementation
- 13 files changed, 127 insertions(+)
+[master (root-commit) d998af5] Initial implementation
+ 13 files changed, 141 insertions(+)
create mode 100644 .gitattributes
create mode 100644 .gitignore
create mode 100644 README.md
@@ -206,20 +205,20 @@ Hello, Windows!
+ git push origin master -u --force
To github.com:boris-kolpackov/hello.git
- + 04c937e...4d5dc0f master -> master (forced update)
+ + 5557360...d998af5 master -> master (forced update)
Branch 'master' set up to track remote branch 'master' from 'origin'.
+ bdep ci --simulate success
submitting:
to: https://ci.stage.build2.org
- in: https://github.com/boris-kolpackov/hello.git#master@4d5dc0f450c972b4f4eadaf59db44d40c244a50e
+ in: https://github.com/boris-kolpackov/hello.git#master@d998af5d8a31b2dc6e2c28e4fd1f242935b89b7e
package: hello
- version: 0.1.0-a.0.20200717153215.4d5dc0f450c9
+ version: 0.1.0-a.0.20211016074742.d998af5d8a31
continue? [y/n] % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 79 812 0 0 100 649 0 434 0:00:01 0:00:01 --:--:-- 434 100 812 100 163 100 649 109 434 0:00:01 0:00:01 --:--:-- 434
-CI request is queued: https://ci.stage.build2.org/@c59c5306-ac49-465f-a817-3a6972271ed4
-reference: c59c5306-ac49-465f-a817-3a6972271ed4
+ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 79 812 0 0 100 649 0 468 0:00:01 0:00:01 --:--:-- 468 100 812 100 163 100 649 117 468 0:00:01 0:00:01 --:--:-- 468
+CI request is queued: https://ci.stage.build2.org/@1773db76-9c9a-456c-a0ca-864c22b05ded
+reference: 1773db76-9c9a-456c-a0ca-864c22b05ded
+ bdep deinit @gcc @clang
deinitializing in project /tmp/hello/
@@ -233,13 +232,13 @@ synchronizing:
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -250,8 +249,8 @@ git:build2.org/hello/libhello https://git.build2.org/hello/libhello.git
prerequisite git:build2.org/hello/libprint##HEAD https://git.build2.org/hello/libprint.git##HEAD
prerequisite git:build2.org/hello/libformat##HEAD https://git.build2.org/hello/libformat.git##HEAD
-libhello/1.1.0+6
-libhello/1.0.0+6
+libhello/1.0.0+8
+libhello/1.1.0+8
+ bpkg rep-info https://git.build2.org/hello/libhello.git#HEAD
querying https://git.build2.org/hello/libhello.git
@@ -260,37 +259,37 @@ git:build2.org/hello/libhello#HEAD https://git.build2.org/hello/libhello.git#HEA
prerequisite git:build2.org/hello/libprint##HEAD https://git.build2.org/hello/libprint.git##HEAD
prerequisite git:build2.org/hello/libformat##HEAD https://git.build2.org/hello/libformat.git##HEAD
-libhello/1.1.0+6
+libhello/1.1.0+8
+ bdep status
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
warning: authenticity of the certificate for repository pkg:stage.build2.org cannot be established
-certificate is for **stage.build2.org, "Code Synthesis" <stage-admin@build2.org>
+certificate is for **build2.org, "Code Synthesis" <admin@build2.org>
certificate SHA256 fingerprint:
EC:50:13:E2:3D:F7:92:B4:50:0B:BF:2A:1F:7D:31:04:C6:57:6F:BC:BE:04:2E:E0:58:14:FA:66:66:21:1F:14
trust this certificate? [y/n] hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.19700101000000#1
+ bdep sync
synchronizing:
- new libhello/1.0.0+5 (required by hello)
+ new libhello/1.0.0+7 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#1
- 0K ... 100% 120M=0s
+ 0K ... 100% 77.1M=0s
+ b
synchronizing /tmp/hello-gcc/:
upgrade hello/0.1.0-a.0.19700101000000#2
mkdir ../hello-gcc/hello/fsdir{hello/}
-version.in ../hello-gcc/libhello-1.0.0+5/libhello/version.hxx.in
-c++ ../hello-gcc/libhello-1.0.0+5/libhello/cxx{hello}
+version.in ../hello-gcc/libhello-1.0.0+7/libhello/version.hxx.in
+c++ ../hello-gcc/libhello-1.0.0+7/libhello/cxx{hello}
c++ hello/cxx{hello}@../hello-gcc/hello/hello/
-ld ../hello-gcc/libhello-1.0.0+5/libhello/libs{hello}
+ld ../hello-gcc/libhello-1.0.0+7/libhello/libs{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+ bdep status -ai
in configuration @gcc:
hello configured 0.1.0-a.0.19700101000000#2
- libhello ^1.0.0 configured 1.0.0+5
+ libhello ^1.0.0 configured 1.0.0+7
in configuration @clang:
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
@@ -301,41 +300,41 @@ in configuration @gcc:
in configuration @clang:
synchronizing:
- new libhello/1.0.0+5 (required by hello)
+ new libhello/1.0.0+7 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#1
- 0K ... 100% 75.8M=0s
+ 0K ... 100% 62.8M=0s
+ bdep test -ai
in configuration @gcc:
-c++ ../hello-gcc/libhello-1.0.0+5/tests/basics/cxx{driver}
-ld ../hello-gcc/libhello-1.0.0+5/tests/basics/exe{driver}
+c++ ../hello-gcc/libhello-1.0.0+7/tests/basics/cxx{driver}
+ld ../hello-gcc/libhello-1.0.0+7/tests/basics/exe{driver}
+test ../hello-gcc/libhello-1.0.0+7/tests/basics/exe{driver}
test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
-test ../hello-gcc/libhello-1.0.0+5/tests/basics/exe{driver}
in configuration @clang:
mkdir ../hello-clang/hello/fsdir{hello/}
-version.in ../hello-clang/libhello-1.0.0+5/libhello/version.hxx.in
-c++ ../hello-clang/libhello-1.0.0+5/libhello/cxx{hello}
+version.in ../hello-clang/libhello-1.0.0+7/libhello/version.hxx.in
c++ hello/cxx{hello}@../hello-clang/hello/hello/
-c++ ../hello-clang/libhello-1.0.0+5/tests/basics/cxx{driver}
-ld ../hello-clang/libhello-1.0.0+5/libhello/libs{hello}
+c++ ../hello-clang/libhello-1.0.0+7/libhello/cxx{hello}
+c++ ../hello-clang/libhello-1.0.0+7/tests/basics/cxx{driver}
+ld ../hello-clang/libhello-1.0.0+7/libhello/libs{hello}
+ld ../hello-clang/libhello-1.0.0+7/tests/basics/exe{driver}
ld ../hello-clang/hello/hello/exe{hello}
-ld ../hello-clang/libhello-1.0.0+5/tests/basics/exe{driver}
+test ../hello-clang/libhello-1.0.0+7/tests/basics/exe{driver}
test hello/testscript{testscript}@../hello-clang/hello/hello/ ../hello-clang/hello/hello/exe{hello}
-test ../hello-clang/libhello-1.0.0+5/tests/basics/exe{driver}
+ bdep status
hello configured 0.1.0-a.0.19700101000000#2 available 0.1.0-a.0.19700101000000#3
+ bdep sync
synchronizing:
- drop libhello/1.0.0+5 (unused)
+ drop libhello/1.0.0+7 (unused)
upgrade hello/0.1.0-a.0.19700101000000#3
synchronizing:
- new libhello/1.0.0+5 (required by hello)
+ new libhello/1.0.0+7 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#4
- 0K ... 100% 71.2M=0s
+ 0K ... 100% 11.2M=0s
+ bdep fetch
fetching git:build2.org/hello/libhello (prerequisite of dir:/tmp/hello)
querying https://git.build2.org/hello/libhello.git
@@ -349,38 +348,38 @@ fetching from https://git.build2.org/hello/libprint.git
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
+ bdep status libhello
-libhello configured 1.0.0+5 available [1.1.0+6] [1.0.0+6]
+libhello configured 1.0.0+7 available [1.1.0+8] [1.0.0+8]
+ bdep sync libhello
synchronizing:
- new libformat/1.0.0+6 (required by libhello)
- new libprint/1.0.0+6 (required by libhello)
- upgrade libhello/1.1.0+6
+ new libformat/1.0.0+8 (required by libhello)
+ new libprint/1.0.0+8 (required by libhello)
+ upgrade libhello/1.1.0+8
reconfigure hello/0.1.0-a.0.19700101000000#4
-distributing libformat/1.0.0+6
-distributing libprint/1.0.0+6
-distributing libhello/1.1.0+6
+distributing libformat/1.0.0+8
+distributing libprint/1.0.0+8
+distributing libhello/1.1.0+8
+ bdep status -r
hello configured 0.1.0-a.0.19700101000000#4
- libhello ^1.0.0 configured 1.1.0+6
- libformat ^1.0.0 configured 1.0.0+6
- libprint ^1.0.0 configured 1.0.0+6
+ libhello ^1.0.0 configured 1.1.0+8
+ libformat ^1.0.0 configured 1.0.0+8
+ libprint ^1.0.0 configured 1.0.0+8
+ bdep status -o libhello
-libhello configured 1.1.0+6 available (1.1.0+6) [1.0.0+6] [1.0.0+5]
+libhello configured 1.1.0+8 available (1.1.0+8) [1.0.0+8] [1.0.0+7]
+ bdep sync libhello/1.0.0
synchronizing:
- drop libprint/1.0.0+6 (unused)
- drop libformat/1.0.0+6 (unused)
- downgrade libhello/1.0.0+6
+ drop libprint/1.0.0+8 (unused)
+ drop libformat/1.0.0+8 (unused)
+ downgrade libhello/1.0.0+8
reconfigure hello/0.1.0-a.0.19700101000000#4
-distributing libhello/1.0.0+6
+distributing libhello/1.0.0+8
+ bdep new -C libextra-gcc -t lib -l c++ libextra cc config.cxx=g++
created new library project libextra in /tmp/libextra/
-created configuration /tmp/libextra-gcc/ 1 default,forwarded,auto-synchronized
+created configuration /tmp/libextra-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new libextra/0.1.0-a.0.19700101000000
@@ -389,8 +388,11 @@ mkdir libextra-gcc/libextra/fsdir{libextra/}
version.in libextra/libextra/version.hxx.in
c++ libextra/libextra/cxx{extra}@libextra-gcc/libextra/libextra/
c++ libextra/libextra/cxx{extra}@libextra-gcc/libextra/libextra/
-ar libextra-gcc/libextra/libextra/liba{extra}
+pc libextra-gcc/libextra/libextra/pca{extra}
+pc libextra-gcc/libextra/libextra/pcs{extra}
+pc libextra-gcc/libextra/libextra/pc{extra}
ld libextra-gcc/libextra/libextra/libs{extra}
+ar libextra-gcc/libextra/libextra/liba{extra}
install unpkg-gcc/
install unpkg-gcc/include/
install unpkg-gcc/include/libextra/
@@ -430,7 +432,7 @@ unpkg-gcc
+ bdep init -C ../hello-gcc-1 @gcc1 cc config.cxx=g++ config.cc.poptions=-I/tmp/unpkg-gcc/include config.cc.loptions=-L/tmp/unpkg-gcc/lib
initializing in project /tmp/hello/
-created configuration @gcc1 /tmp/hello-gcc-1/ 3 auto-synchronized
+created configuration @gcc1 /tmp/hello-gcc-1/ 3 target auto-synchronized
fetching git:build2.org/hello/libhello (prerequisite of dir:/tmp/hello)
querying https://git.build2.org/hello/libhello.git
fetching from https://git.build2.org/hello/libhello.git
@@ -442,48 +444,49 @@ querying https://git.build2.org/hello/libprint.git
fetching from https://git.build2.org/hello/libprint.git
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
synchronizing:
- new libformat/1.0.0+6 (required by libhello)
- new libprint/1.0.0+6 (required by libhello)
- new libhello/1.1.0+6 (required by hello)
+ new libformat/1.0.0+8 (required by libhello)
+ new libprint/1.0.0+8 (required by libhello)
+ new libhello/1.1.0+8 (required by hello)
new hello/0.1.0-a.0.19700101000000
-distributing libformat/1.0.0+6
-distributing libprint/1.0.0+6
-distributing libhello/1.1.0+6
+distributing libformat/1.0.0+8
+distributing libprint/1.0.0+8
+distributing libhello/1.1.0+8
+ b test: ../hello-gcc-1/
mkdir ../hello-gcc-1/hello/fsdir{hello/}
-version.in ../hello-gcc-1/libprint-1.0.0+6/libprint/version.hxx.in
-version.in ../hello-gcc-1/libformat-1.0.0+6/libformat/version.hxx.in
-version.in ../hello-gcc-1/libhello-1.1.0+6/libhello/version.hxx.in
-c++ ../hello-gcc-1/libhello-1.1.0+6/libhello/cxx{hello}
-c++ ../hello-gcc-1/libformat-1.0.0+6/tests/basics/cxx{driver}
-c++ ../hello-gcc-1/libprint-1.0.0+6/libprint/cxx{print}
-c++ ../hello-gcc-1/libprint-1.0.0+6/tests/basics/cxx{driver}
+version.in ../hello-gcc-1/libhello-1.1.0+8/libhello/version.hxx.in
+version.in ../hello-gcc-1/libformat-1.0.0+8/libformat/version.hxx.in
+version.in ../hello-gcc-1/libprint-1.0.0+8/libprint/version.hxx.in
+c++ ../hello-gcc-1/libprint-1.0.0+8/libprint/cxx{print}
+c++ ../hello-gcc-1/libprint-1.0.0+8/tests/basics/cxx{driver}
+c++ ../hello-gcc-1/libformat-1.0.0+8/libformat/cxx{format}
+c++ ../hello-gcc-1/libformat-1.0.0+8/tests/basics/cxx{driver}
+c++ ../hello-gcc-1/libhello-1.1.0+8/libhello/cxx{hello}
+c++ ../hello-gcc-1/libhello-1.1.0+8/tests/basics/cxx{driver}
c++ hello/cxx{hello}@../hello-gcc-1/hello/hello/
-c++ ../hello-gcc-1/libhello-1.1.0+6/tests/basics/cxx{driver}
-c++ ../hello-gcc-1/libformat-1.0.0+6/libformat/cxx{format}
-ld ../hello-gcc-1/libprint-1.0.0+6/libprint/libs{print}
-ld ../hello-gcc-1/libprint-1.0.0+6/tests/basics/exe{driver}
-ld ../hello-gcc-1/libformat-1.0.0+6/libformat/libs{format}
-ld ../hello-gcc-1/libformat-1.0.0+6/tests/basics/exe{driver}
-ld ../hello-gcc-1/libhello-1.1.0+6/libhello/libs{hello}
-ld ../hello-gcc-1/libhello-1.1.0+6/tests/basics/exe{driver}
+ld ../hello-gcc-1/libprint-1.0.0+8/libprint/libs{print}
+ld ../hello-gcc-1/libprint-1.0.0+8/tests/basics/exe{driver}
+ld ../hello-gcc-1/libformat-1.0.0+8/libformat/libs{format}
+ld ../hello-gcc-1/libformat-1.0.0+8/tests/basics/exe{driver}
+ld ../hello-gcc-1/libhello-1.1.0+8/libhello/libs{hello}
ld ../hello-gcc-1/hello/hello/exe{hello}
+ld ../hello-gcc-1/libhello-1.1.0+8/tests/basics/exe{driver}
+test ../hello-gcc-1/libprint-1.0.0+8/tests/basics/exe{driver}
+test ../hello-gcc-1/libformat-1.0.0+8/tests/basics/exe{driver}
+test ../hello-gcc-1/libhello-1.1.0+8/tests/basics/exe{driver}
test hello/testscript{testscript}@../hello-gcc-1/hello/hello/ ../hello-gcc-1/hello/hello/exe{hello}
-test ../hello-gcc-1/libhello-1.1.0+6/tests/basics/exe{driver}
-test ../hello-gcc-1/libprint-1.0.0+6/tests/basics/exe{driver}
-test ../hello-gcc-1/libformat-1.0.0+6/tests/basics/exe{driver}
+ b configure: ../hello-gcc/ config.cc.poptions+=-I/tmp/unpkg-gcc/include config.cc.loptions+=-L/tmp/unpkg-gcc/lib
save ../hello-gcc/build/config.build
save ../hello-gcc/hello/build/config.build
-save ../hello-gcc/libhello-1.0.0+6/build/config.build
-save ../hello-gcc/libhello-1.0.0+6/tests/build/config.build
+save ../hello-gcc/libhello-1.0.0+8/build/config.build
+save ../hello-gcc/libhello-1.0.0+8/tests/build/config.build
+ b test
-c++ ../hello-gcc/libhello-1.0.0+6/libhello/cxx{hello}
+version.in ../hello-gcc/libhello-1.0.0+8/libhello/version.hxx.in
+c++ ../hello-gcc/libhello-1.0.0+8/libhello/cxx{hello}
c++ hello/cxx{hello}@../hello-gcc/hello/hello/
-ld ../hello-gcc/libhello-1.0.0+6/libhello/libs{hello}
+ld ../hello-gcc/libhello-1.0.0+8/libhello/libs{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ln ../hello-gcc/hello/hello/exe{hello} -> hello/
test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
@@ -495,7 +498,7 @@ synchronizing:
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
To github.com:boris-kolpackov/hello.git
@@ -504,8 +507,8 @@ To github.com:boris-kolpackov/hello.git
- [deleted] v0.1.0-a.1
To github.com:boris-kolpackov/hello.git
- [deleted] v0.1.0
-[master (root-commit) e49d672] Initial implementation
- 13 files changed, 127 insertions(+)
+[master (root-commit) af66fb2] Initial implementation
+ 13 files changed, 141 insertions(+)
create mode 100644 .gitattributes
create mode 100644 .gitignore
create mode 100644 README.md
@@ -520,15 +523,15 @@ To github.com:boris-kolpackov/hello.git
create mode 100644 manifest
create mode 100644 repositories.manifest
To github.com:boris-kolpackov/hello.git
- + 4d5dc0f...e49d672 master -> master (forced update)
+ + d998af5...af66fb2 master -> master (forced update)
Branch 'master' set up to track remote branch 'master' from 'origin'.
+ bdep status
-hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.20200717153600.e49d672fb0c8
+hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.20211016074922.af66fb280c29
+ b info
project: hello
-version: 0.1.0-a.0.20200717153600.e49d672fb0c8
+version: 0.1.0-a.0.20211016074922.af66fb280c29
summary: hello C++ executable
url: https://example.org/hello
src_root: /tmp/hello/
@@ -537,18 +540,19 @@ amalgamation: ../
subprojects:
operations: update clean test update-for-test install uninstall update-for-install
meta-operations: perform configure disfigure dist info
+modules: version config test install dist
+ bdep sync
synchronizing:
- upgrade hello/0.1.0-a.0.20200717153600.e49d672fb0c8
+ upgrade hello/0.1.0-a.0.20211016074922.af66fb280c29
+ bdep status
-hello configured 0.1.0-a.0.20200717153600.e49d672fb0c8
-[master 5f5f95b] Another commit
+hello configured 0.1.0-a.0.20211016074922.af66fb280c29
+[master f055ca5] Another commit
1 file changed, 1 insertion(+)
+ bdep status
-hello configured 0.1.0-a.0.20200717153600.e49d672fb0c8 available 0.1.0-a.0.20200717153604.5f5f95b67e7b
+hello configured 0.1.0-a.0.20211016074922.af66fb280c29 available 0.1.0-a.0.20211016074925.f055ca500a96
+ bdep release --alpha --push
releasing:
@@ -559,9 +563,9 @@ releasing:
commit: yes
tag: v0.1.0-a.1
push: origin/master
-continue? [y/n] [master 4be6af2] Release version 0.1.0-a.1
+continue? [y/n] [master e99c5ac] Release version 0.1.0-a.1
1 file changed, 1 insertion(+), 1 deletion(-)
-[master a5ac778] Change version to 0.1.0-a.1.z
+[master 29af065] Change version to 0.1.0-a.1.z
1 file changed, 1 insertion(+), 1 deletion(-)
pushing branch master, tag v0.1.0-a.1
@@ -573,7 +577,7 @@ releasing:
commit: yes
tag: v0.1.0
push: origin/master
-continue? [y/n] [master 6180433] Release version 0.1.0
+continue? [y/n] [master ced585b] Release version 0.1.0
1 file changed, 1 insertion(+), 1 deletion(-)
pushing branch master, tag v0.1.0
@@ -590,17 +594,17 @@ publishing:
control: https://github.com/boris-kolpackov/hello.git
warning: publishing using staged build2 toolchain
continue? [y/n] pushing branch build2-control
-remote:
-remote: Create a pull request for 'build2-control' on GitHub by visiting:
-remote: https://github.com/boris-kolpackov/hello/pull/new/build2-control
-remote:
+remote:
+remote: Create a pull request for 'build2-control' on GitHub by visiting:
+remote: https://github.com/boris-kolpackov/hello/pull/new/build2-control
+remote:
Branch 'build2-control' set up to track remote branch 'build2-control' from 'origin'.
submitting hello-0.1.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1970 0 0 100 1970 0 888 0:00:02 0:00:02 --:--:-- 888 100 2086 100 116 100 1970 50 864 0:00:02 0:00:02 --:--:-- 864
+ 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 2203 0 0 100 2087 0 1315 0:00:01 0:00:01 --:--:-- 1315 100 2203 100 116 100 2087 73 1315 0:00:01 0:00:01 --:--:-- 1315
package submission is queued: https://queue.cppget.org/hello/0.1.0
-reference: a5825131bec6
+reference: 44aaead7a984
+ bdep release --open --push
opening:
@@ -609,19 +613,19 @@ opening:
open: 0.2.0-a.0.z
commit: yes
push: origin/master
-continue? [y/n] [master 59b015a] Change version to 0.2.0-a.0.z
+continue? [y/n] [master 78814f9] Change version to 0.2.0-a.0.z
1 file changed, 1 insertion(+), 1 deletion(-)
pushing branch master
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -659,13 +663,13 @@ libhello
+ bdep init -A ../hello-gcc @gcc
initializing in project /tmp/libhello/
-added configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+added configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new libhello/0.1.0-a.0.19700101000000
+ bdep init -A ../hello-clang @clang
initializing in project /tmp/libhello/
-added configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+added configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new libhello/0.1.0-a.0.19700101000000
@@ -678,18 +682,18 @@ mkdir ../hello-gcc/libhello/fsdir{libhello/}
mkdir ../hello-gcc/hello/fsdir{hello/}
mkdir ../hello-gcc/libhello/tests/fsdir{basics/}
version.in ../libhello/libhello/version.hxx.in
-c++ ../libhello/libhello/cxx{hello}@../hello-gcc/libhello/libhello/
c++ hello/cxx{hello}@../hello-gcc/hello/hello/
+c++ ../libhello/libhello/cxx{hello}@../hello-gcc/libhello/libhello/
c++ ../libhello/tests/basics/cxx{driver}@../hello-gcc/libhello/tests/basics/
ld ../hello-gcc/libhello/libhello/libs{hello}
ld ../hello-gcc/libhello/tests/basics/exe{driver}
ld ../hello-gcc/hello/hello/exe{hello}
-test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
test ../hello-gcc/libhello/tests/basics/exe{driver}
+test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -697,7 +701,7 @@ synchronizing:
+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -737,11 +741,13 @@ c++ libhello/tests/basics/cxx{driver}@../hello-gcc/libhello/tests/basics/
ld ../hello-gcc/libhello/libhello/libs{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ld ../hello-gcc/libhello/tests/basics/exe{driver}
-test hello/hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
test ../hello-gcc/libhello/tests/basics/exe{driver}
+test hello/hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+ bpkg create -d tools cc config.cxx=g++ config.cc.coptions=-O3 config.install.root=/opt/tools config.install.sudo=sudo config.bin.rpath=/opt/tools/lib
created new configuration in /tmp/tools/
+ uuid: 481e4c3d-c27d-49bc-80b3-842eef804942
+ type: target
+ cd tools
@@ -759,68 +765,71 @@ fetching from https://git.build2.org/hello/libformat.git
fetching git:build2.org/hello/libprint##HEAD (prerequisite of git:build2.org/hello/libhello)
querying https://git.build2.org/hello/libprint.git
fetching from https://git.build2.org/hello/libprint.git
- new libformat/1.0.0+6 (required by libhello)
- new libprint/1.0.0+6 (required by libhello)
- new libhello/1.1.0+6 (required by hello)
- new hello/1.0.0+5
-continue? [Y/n] distributing libformat/1.0.0+6
-checked out libformat/1.0.0+6
-configured libformat/1.0.0+6
-distributing libprint/1.0.0+6
-checked out libprint/1.0.0+6
-configured libprint/1.0.0+6
-distributing libhello/1.1.0+6
-checked out libhello/1.1.0+6
-configured libhello/1.1.0+6
-distributing hello/1.0.0+5
-checked out hello/1.0.0+5
-configured hello/1.0.0+5
-version.in libhello-1.1.0+6/libhello/version.hxx.in
-version.in libformat-1.0.0+6/libformat/version.hxx.in
-version.in libprint-1.0.0+6/libprint/version.hxx.in
-c++ libprint-1.0.0+6/libprint/cxx{print}
-c++ libhello-1.1.0+6/libhello/cxx{hello}
-c++ libformat-1.0.0+6/libformat/cxx{format}
-c++ hello-1.0.0+5/hello/cxx{hello}
-ld libprint-1.0.0+6/libprint/libs{print}
-ld libformat-1.0.0+6/libformat/libs{format}
-ld libhello-1.1.0+6/libhello/libs{hello}
-ld hello-1.0.0+5/hello/exe{hello}
-updated hello/1.0.0+5
+ new libformat/1.0.0+8 (required by libhello)
+ new libprint/1.0.0+8 (required by libhello)
+ new libhello/1.1.0+8 (required by hello)
+ new hello/1.0.0+7
+continue? [Y/n] distributing libformat/1.0.0+8
+checked out libformat/1.0.0+8
+distributing libprint/1.0.0+8
+checked out libprint/1.0.0+8
+distributing libhello/1.1.0+8
+checked out libhello/1.1.0+8
+distributing hello/1.0.0+7
+checked out hello/1.0.0+7
+configured libformat/1.0.0+8
+configured libprint/1.0.0+8
+configured libhello/1.1.0+8
+configured hello/1.0.0+7
+version.in libhello-1.1.0+8/libhello/version.hxx.in
+version.in libprint-1.0.0+8/libprint/version.hxx.in
+version.in libformat-1.0.0+8/libformat/version.hxx.in
+c++ libprint-1.0.0+8/libprint/cxx{print}
+c++ hello-1.0.0+7/hello/cxx{hello}
+c++ libhello-1.1.0+8/libhello/cxx{hello}
+c++ libformat-1.0.0+8/libformat/cxx{format}
+ld libprint-1.0.0+8/libprint/libs{print}
+ld libformat-1.0.0+8/libformat/libs{format}
+ld libhello-1.1.0+8/libhello/libs{hello}
+ld hello-1.0.0+7/hello/exe{hello}
+updated hello/1.0.0+7
+ bpkg install hello
-ld libhello-1.1.0+6/libhello/libs{hello}
-ld hello-1.0.0+5/hello/exe{hello}
+pc libformat-1.0.0+8/libformat/pcs{format}
+pc libprint-1.0.0+8/libprint/pcs{print}
+pc libhello-1.1.0+8/libhello/pcs{hello}
+ld libhello-1.1.0+8/libhello/libs{hello}
+ld hello-1.0.0+7/hello/exe{hello}
install /opt/tools/
install /opt/tools/include/
install /opt/tools/include/libhello/
-install libhello-1.1.0+6/libhello/hxx{export}
-install libhello-1.1.0+6/libhello/hxx{hello}
+install libhello-1.1.0+8/libhello/hxx{export}
+install libhello-1.1.0+8/libhello/hxx{hello}
install /opt/tools/share/
install /opt/tools/share/doc/
install /opt/tools/share/doc/libhello/
-install libhello-1.1.0+6/manifest{manifest}
-install libhello-1.1.0+6/libhello/hxx{version}
+install libhello-1.1.0+8/manifest{manifest}
+install libhello-1.1.0+8/libhello/hxx{version}
install /opt/tools/include/libprint/
-install libprint-1.0.0+6/libprint/hxx{print}
-install libprint-1.0.0+6/libprint/hxx{export}
+install libprint-1.0.0+8/libprint/hxx{print}
+install libprint-1.0.0+8/libprint/hxx{export}
install /opt/tools/share/doc/libprint/
-install libprint-1.0.0+6/manifest{manifest}
-install libprint-1.0.0+6/libprint/hxx{version}
-install libprint-1.0.0+6/libprint/libs{print}
+install libprint-1.0.0+8/manifest{manifest}
+install libprint-1.0.0+8/libprint/hxx{version}
+install libprint-1.0.0+8/libprint/libs{print}
install /opt/tools/include/libformat/
-install libformat-1.0.0+6/libformat/hxx{export}
-install libformat-1.0.0+6/libformat/hxx{format}
+install libformat-1.0.0+8/libformat/hxx{export}
+install libformat-1.0.0+8/libformat/hxx{format}
install /opt/tools/share/doc/libformat/
-install libformat-1.0.0+6/manifest{manifest}
-install libformat-1.0.0+6/libformat/hxx{version}
-install libformat-1.0.0+6/libformat/libs{format}
-install libhello-1.1.0+6/libhello/libs{hello}
+install libformat-1.0.0+8/manifest{manifest}
+install libformat-1.0.0+8/libformat/hxx{version}
+install libformat-1.0.0+8/libformat/libs{format}
+install libhello-1.1.0+8/libhello/libs{hello}
install /opt/tools/bin/
-install hello-1.0.0+5/hello/exe{hello}
+install hello-1.0.0+7/hello/exe{hello}
install /opt/tools/share/doc/hello/
-install hello-1.0.0+5/manifest{manifest}
-installed hello/1.0.0+5
+install hello-1.0.0+7/manifest{manifest}
+installed hello/1.0.0+7
+ /opt/tools/bin/hello World
Hello, World!
@@ -867,36 +876,36 @@ Hello, World!
13 directories, 23 files
+ bpkg uninstall hello
-uninstall hello-1.0.0+5/manifest{manifest}
+uninstall hello-1.0.0+7/manifest{manifest}
uninstall /opt/tools/share/doc/hello/
-uninstall hello-1.0.0+5/hello/exe{hello}
+uninstall hello-1.0.0+7/hello/exe{hello}
uninstall /opt/tools/bin/
-uninstall libhello-1.1.0+6/libhello/libs{hello}
-uninstall libformat-1.0.0+6/libformat/libs{format}
-uninstall libformat-1.0.0+6/libformat/hxx{version}
-uninstall libformat-1.0.0+6/manifest{manifest}
+uninstall libhello-1.1.0+8/libhello/libs{hello}
+uninstall libformat-1.0.0+8/libformat/libs{format}
+uninstall libformat-1.0.0+8/libformat/hxx{version}
+uninstall libformat-1.0.0+8/manifest{manifest}
uninstall /opt/tools/share/doc/libformat/
-uninstall libformat-1.0.0+6/libformat/hxx{format}
-uninstall libformat-1.0.0+6/libformat/hxx{export}
+uninstall libformat-1.0.0+8/libformat/hxx{format}
+uninstall libformat-1.0.0+8/libformat/hxx{export}
uninstall /opt/tools/include/libformat/
-uninstall libprint-1.0.0+6/libprint/libs{print}
-uninstall libprint-1.0.0+6/libprint/hxx{version}
-uninstall libprint-1.0.0+6/manifest{manifest}
+uninstall libprint-1.0.0+8/libprint/libs{print}
+uninstall libprint-1.0.0+8/libprint/hxx{version}
+uninstall libprint-1.0.0+8/manifest{manifest}
uninstall /opt/tools/share/doc/libprint/
-uninstall libprint-1.0.0+6/libprint/hxx{export}
-uninstall libprint-1.0.0+6/libprint/hxx{print}
+uninstall libprint-1.0.0+8/libprint/hxx{export}
+uninstall libprint-1.0.0+8/libprint/hxx{print}
uninstall /opt/tools/include/libprint/
-uninstall libhello-1.1.0+6/libhello/hxx{version}
-uninstall libhello-1.1.0+6/manifest{manifest}
+uninstall libhello-1.1.0+8/libhello/hxx{version}
+uninstall libhello-1.1.0+8/manifest{manifest}
uninstall /opt/tools/share/doc/libhello/
uninstall /opt/tools/share/doc/
uninstall /opt/tools/share/
-uninstall libhello-1.1.0+6/libhello/hxx{hello}
-uninstall libhello-1.1.0+6/libhello/hxx{export}
+uninstall libhello-1.1.0+8/libhello/hxx{hello}
+uninstall libhello-1.1.0+8/libhello/hxx{export}
uninstall /opt/tools/include/libhello/
uninstall /opt/tools/include/
uninstall /opt/tools/
-uninstalled hello/1.0.0+5
+uninstalled hello/1.0.0+7
+ bpkg drop hello
following dependencies were automatically built but will no longer be used: