[
https://issues.apache.org/jira/browse/IMPALA-12288?focusedWorklogId=874140&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-874140
]
ASF GitHub Bot logged work on IMPALA-12288:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 02/Aug/23 01:29
Start Date: 02/Aug/23 01:29
Worklog Time Spent: 10m
Work Description: zhangyifan27 closed pull request #55: IMPALA-12288: Add
BUILD_WITH_NO_TESTS option to remove test targets
URL: https://github.com/apache/impala/pull/55
Issue Time Tracking
-------------------
Worklog Id: (was: 874140)
Time Spent: 0.5h (was: 20m)
> Avoiding building all the backend tests when running a packaging build
> ----------------------------------------------------------------------
>
> Key: IMPALA-12288
> URL: https://issues.apache.org/jira/browse/IMPALA-12288
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Affects Versions: Impala 4.3.0
> Reporter: Joe McDonnell
> Assignee: yx91490
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]