Add a message for CMake incremental build (#48905)
* Add a message for CMake incremental build Requested message to explain CMake phase is getting skipped. * [@spackbot] updating style on behalf of psakievich * Update import --------- Co-authored-by: psakievich <psakievich@users.noreply.github.com>
This commit is contained in:
parent
731e48b1bd
commit
1f428c4188
@ -11,6 +11,7 @@
|
|||||||
from typing import Any, List, Optional, Tuple
|
from typing import Any, List, Optional, Tuple
|
||||||
|
|
||||||
import llnl.util.filesystem as fs
|
import llnl.util.filesystem as fs
|
||||||
|
from llnl.util import tty
|
||||||
from llnl.util.lang import stable_partition
|
from llnl.util.lang import stable_partition
|
||||||
|
|
||||||
import spack.builder
|
import spack.builder
|
||||||
@ -469,6 +470,11 @@ def cmake(
|
|||||||
configure_artifact = "ninja.build"
|
configure_artifact = "ninja.build"
|
||||||
|
|
||||||
if os.path.isfile(os.path.join(self.build_directory, configure_artifact)):
|
if os.path.isfile(os.path.join(self.build_directory, configure_artifact)):
|
||||||
|
tty.msg(
|
||||||
|
"Incremental build criteria satisfied."
|
||||||
|
"Skipping CMake configure step. To force configuration run"
|
||||||
|
f" `spack clean {pkg.name}`"
|
||||||
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
options = self.std_cmake_args
|
options = self.std_cmake_args
|
||||||
|
Loading…
Reference in New Issue
Block a user