jjb: babeltrace: disable Werror on release build
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 16 Aug 2023 19:39:53 +0000 (15:39 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 16 Aug 2023 20:17:15 +0000 (16:17 -0400)
Change-Id: I155af675f63b3135e93880f9af0ab16acaf7e883
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/babeltrace/release.sh

index beff09718a1652052268d61b8a8d6192703c8d53..c120a8b30fbce16c54d7ee48b857c0e950b15525 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 # Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
-# Copyright (C) 2020 Michael Jeanson <mjeanson@efficios.com>
+# Copyright (C) 2023 Michael Jeanson <mjeanson@efficios.com>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,6 +25,8 @@ vercomp () {
         return 0
     fi
     local IFS=.
+    # Ignore the shellcheck warning, we want splitting to happen based on IFS.
+    # shellcheck disable=SC2206
     local i ver1=($1) ver2=($2)
     # fill empty fields in ver1 with zeros
     for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)); do
@@ -102,7 +104,7 @@ PACKAGE_VERSION=${PACKAGE_VERSION//\-pre*/}
 # Version specific configurations
 if vergte "$PACKAGE_VERSION" "2.0"; then
   BASENAME="babeltrace2"
-  CONF_OPTS=("--enable-python-bindings" "--enable-python-bindings-doc" "--enable-python-plugins")
+  CONF_OPTS=("--enable-python-bindings" "--enable-python-bindings-doc" "--enable-python-plugins" "--disable-Werror")
 
   # Enable dev mode by default for BT 2.0 builds
   #export BABELTRACE_DEBUG_MODE=1
This page took 0.023645 seconds and 4 git commands to generate.