Skip to content
Snippets Groups Projects
Commit 26cbfbbc authored by Oz Linden's avatar Oz Linden
Browse files

simplify early failures

parent 1a3f7b59
No related branches found
No related tags found
No related merge requests found
...@@ -140,9 +140,8 @@ build() ...@@ -140,9 +140,8 @@ build()
local variant="$1" local variant="$1"
if $build_viewer if $build_viewer
then then
"$autobuild" build --no-configure -c $variant "$autobuild" build --no-configure -c $variant || fatal "failed building $variant"
build_ok=$?
# Run build extensions # Run build extensions
if [ $build_ok -eq 0 -a -d ${build_dir}/packages/build-extensions ] if [ $build_ok -eq 0 -a -d ${build_dir}/packages/build-extensions ]
then then
...@@ -155,14 +154,12 @@ build() ...@@ -155,14 +154,12 @@ build()
fi fi
# *TODO: Make this a build extension. # *TODO: Make this a build extension.
package_llphysicsextensions_tpv package_llphysicsextensions_tpv || fatal "failed building llphysicsextensions packages"
tpvlib_build_ok=$?
if [ $build_ok -eq 0 -a $tpvlib_build_ok -eq 0 ] echo true >"$build_dir"/build_ok
then else
echo "Skipping build due to configuration build_viewer=${build_viewer}"
echo true >"$build_dir"/build_ok echo true >"$build_dir"/build_ok
else
echo false >"$build_dir"/build_ok
fi
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment