aboutsummaryrefslogtreecommitdiff
path: root/UPGRADE.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-04-15 23:08:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-04-16 14:23:20 +0300
commitf4fee4d6c062b6ab4aa46bf2d942a4bff3481e05 (patch)
treeacc176c8117e576b85c131925eae633276466005 /UPGRADE.cli
parentb1eb22d92f9a53a00d9d0c5b922aac861500e386 (diff)
Make build scripts to create hermetic configurations
Diffstat (limited to 'UPGRADE.cli')
-rw-r--r--UPGRADE.cli5
1 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADE.cli b/UPGRADE.cli
index b51f538..202a2a6 100644
--- a/UPGRADE.cli
+++ b/UPGRADE.cli
@@ -199,11 +199,13 @@ For UNIX-like operating systems (GNU/Linux, Mac OS X, FreeBSD, etc):
\
$ bpkg-stage create \
cc \
+config.config.hermetic=true \
config.cxx=g++ \
config.cc.coptions=-O3 \
config.bin.lib=shared \
config.bin.rpath=/usr/local/lib \
config.install.root=/usr/local \
+config.install.private=build2 \
config.install.sudo=sudo
\
@@ -213,6 +215,7 @@ Prompt\"):
\
> bpkg-stage create ^
cc ^
+ config.config.hermetic=true ^
config.cxx=cl ^
config.cc.coptions=/O2 ^
config.bin.lib=shared ^
@@ -225,6 +228,7 @@ For Windows with Clang (from a suitable command prompt, see
\
> bpkg-stage create ^
cc ^
+ config.config.hermetic=true ^
config.cxx=clang++ ^
\"config.cc.coptions=-m64 -O2\" ^
config.bin.lib=shared ^
@@ -236,6 +240,7 @@ For Windows with MinGW (from the command prompt):
\
> bpkg-stage create ^
cc ^
+ config.config.hermetic=true ^
config.cxx=g++ ^
config.cc.coptions=-O3 ^
config.bin.lib=shared ^