View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015474CMakeCMakepublic2015-03-25 13:182015-11-02 09:13
ReporterAndrey Vihrov 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSOS Version
Product VersionCMake 3.2.1 
Target VersionCMake 3.3Fixed in VersionCMake 3.3 
Summary0015474: The "Unix Makefiles" generator should use .DELETE_ON_ERROR
DescriptionThe .DELETE_ON_ERROR special target in GNU Make ensures that if a command fails, then its corresponding target will be deleted. For example, if a linker OOMs halfway writing the final executable, then without .DELETE_ON_ERROR Make will consider that the (corrupted) executable has been built and refuse to rebuild it.

See also https://www.gnu.org/software/make/manual/html_node/Special-Targets.html#index-_002eDELETE_005fON_005fERROR [^] and https://www.gnu.org/software/make/manual/html_node/Errors.html#index-deletion-of-target-files [^] (last paragraph).
Steps To Reproduce* Use the "Unix Makefiles" generator with a sample CMake project
* Verify that the generated Makefiles do not contain .DELETE_ON_ERROR
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038383)
Brad King (manager)
2015-04-01 13:18

Makefile: Tell GNU make to delete rule outputs on error
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4adf1dad [^]
(0039761)
Robert Maynard (manager)
2015-11-02 09:13

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-03-25 13:18 Andrey Vihrov New Issue
2015-03-31 11:30 Brad King Assigned To => Brad King
2015-03-31 11:30 Brad King Status new => assigned
2015-03-31 11:30 Brad King Target Version => CMake 3.3
2015-04-01 13:18 Brad King Note Added: 0038383
2015-04-01 13:18 Brad King Status assigned => resolved
2015-04-01 13:18 Brad King Resolution open => fixed
2015-04-01 13:18 Brad King Fixed in Version => CMake 3.3
2015-11-02 09:13 Robert Maynard Note Added: 0039761
2015-11-02 09:13 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team