linux - Skipping configuration of projects that do not need compiling -


i'm running long build script compiling lot of projects, , builds make returns make: nothing done 'all', because i'm not changing code on every build. script still takes long time finish, however, because calls autotools configurescript each project, , other scripts.

i've read somewhere make uses timestamps test if needs build.

is there way ask make if needs build or not before calling configure script? or maybe way prevent re-configuring of projects?

having configured each project once, not need run each configure script again unless configure scripts change, or have reason believe test results have changed. if necessary, can run config.status instead recreate output files without re-running tests. if can confident output files not need recreated, either, can run make.

moreover, if using automake in conjunction autoconf, makefiles built tooling detects when configure's m4 source, configure.ac, has changed, therefore requiring reconfiguration. long makefile generated automake-based configure remains, can run make, , right thing. if makefile missing, needed run configure or config.status anyway.

additionally, consider using shared cache file configure scripts, specifying file each 1 via --config-cache option. should reduce time each configure script consumes avoiding redundant testing.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -