[zorg] r352022 - [jenkins] tweak regex
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 23 20:47:28 PST 2019
Author: adrian
Date: Wed Jan 23 20:47:28 2019
New Revision: 352022
URL: http://llvm.org/viewvc/llvm-project?rev=352022&view=rev
Log:
[jenkins] tweak regex
Modified:
zorg/trunk/zorg/jenkins/lldb-cmake-matrix-dwarf.sh
Modified: zorg/trunk/zorg/jenkins/lldb-cmake-matrix-dwarf.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/lldb-cmake-matrix-dwarf.sh?rev=352022&r1=352021&r2=352022&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/lldb-cmake-matrix-dwarf.sh (original)
+++ zorg/trunk/zorg/jenkins/lldb-cmake-matrix-dwarf.sh Wed Jan 23 20:47:28 2019
@@ -81,8 +81,8 @@ rsync -av --delete $BASE_BUILD/bin $BUIL
WRAPPER=$BUILD/bin/clang-dwarf${DWARF_VERSION}
echo '#!/bin/sh'>${WRAPPER}
echo '#!/bin/sh'>${WRAPPER}++
-echo env CCC_OVERRIDE_OPTIONS='"'s/-g/-gdwarf-${DWARF_VERSION}/'"' ${BASE_BUILD}/bin/clang '$*'>>${WRAPPER}
-echo env CCC_OVERRIDE_OPTIONS='"'s/-g/-gdwarf-${DWARF_VERSION}/'"' ${BASE_BUILD}/bin/clang++ '$*'>>${WRAPPER}++
+echo env CCC_OVERRIDE_OPTIONS='"s/-g(lldb)?$/'-gdwarf-${DWARF_VERSION}/'"' ${BASE_BUILD}/bin/clang '$*'>>${WRAPPER}
+echo env CCC_OVERRIDE_OPTIONS='"s/-g(lldb)?$/'-gdwarf-${DWARF_VERSION}/'"' ${BASE_BUILD}/bin/clang++ '$*'>>${WRAPPER}++
chmod u+x ${WRAPPER} ${WRAPPER}++
cmake $WORKSPACE/llvm \
More information about the llvm-commits
mailing list