Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13114960
D7360.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
979 B
Subscribers
None
D7360.diff
View Options
diff --git a/contrib/devtools/build_cmake.sh b/contrib/devtools/build_cmake.sh
--- a/contrib/devtools/build_cmake.sh
+++ b/contrib/devtools/build_cmake.sh
@@ -16,6 +16,7 @@
echo " --clang: build with clang/clang++"
echo " --gcc: build with gcc/g++"
echo " --junit: enable Junit reports generation"
+ echo " --no-build: Only run the configuration step and skip the build"
echo " --Werror: add -Werror to the compiler flags"
echo "Environment variables:"
echo " CMAKE_FLAGS: array of the CMAKE flags to use for the build"
@@ -32,6 +33,7 @@
read -a CMAKE_FLAGS <<< "${CMAKE_FLAGS}"
+BUILD="yes"
TARGETS=()
while [[ $# -gt 0 ]]; do
case $1 in
@@ -55,6 +57,10 @@
)
shift
;;
+ --no-build)
+ BUILD="no"
+ shift
+ ;;
--Werror)
CMAKE_FLAGS+=(
"-DCMAKE_C_FLAGS=-Werror"
@@ -91,4 +97,7 @@
fi
# Run build
-ninja "${TARGETS[@]}"
+if [ "${BUILD}" == "yes" ]
+then
+ ninja "${TARGETS[@]}"
+fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 08:54 (27 m, 34 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187138
Default Alt Text
D7360.diff (979 B)
Attached To
D7360: Add an option to the build_cmake.sh to skip the build phase
Event Timeline
Log In to Comment