[cmake-developers] [CMake 0015663]: externalproject cause make -j build failure the first time

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 23 16:50:57 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15663 
====================================================================== 
Reported By:                Laurent Demailly
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15663
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-07-23 13:50 PDT
Last Modified:              2015-07-23 13:50 PDT
====================================================================== 
Summary:                    externalproject cause make -j build failure the
first time
Description: 
the first time someone builds a cmake generated makefile, using -j yields a
broken build because somehow the download of the external projects isn't
complete

the dependencies should be set correctly such as make waits for that target to
complete ?

https://github.com/facebook/wdt/issues/12


Steps to Reproduce: 
git clone https://github.com/facebook/wdt.git
mkdir build; cd build
cmake ../wdt -G "Unix Makefiles" -DBUILD_TESTING=on
make -j

this isn't mac specific - same issue with Ubuntu - could be a bug in our
cmakelist.txt 
https://github.com/facebook/wdt/blob/master/CMakeLists.txt#L212
is where we add gmock

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-07-23 13:50 Laurent DemaillyNew Issue                                    
======================================================================



More information about the cmake-developers mailing list