Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.3.0
-
None
-
ghx-label-6
Description
When using the new packaging functionality in IMPALA-10262, the command "buildall.sh -package -release -notests" still builds all of the backend tests.
Currently, the "-notests" flag doesn't change the list of targets generated by CMake. Instead, "-notests" changes the make target that is built by buildall.sh. So, the test targets still exist, but they aren't built.
cpack seems to invoke a plain "make" with no target, and this builds everything including the tests.
To avoid this, we would need a mode that tells CMake to avoid generating the test targets altogether. This could be very useful for a packaging build, because the backend tests take up significant time and disk space to build.
Attachments
Issue Links
- is related to
-
IMPALA-12762 Build package from scratch failed by cmake error
- Resolved
- relates to
-
IMPALA-10262 Linux Packaging Support
- Resolved