diff --git a/ACE/ACE-INSTALL.html b/ACE/ACE-INSTALL.html index 17a2ca5b2db02..22cd80cdeaf4f 100644 --- a/ACE/ACE-INSTALL.html +++ b/ACE/ACE-INSTALL.html @@ -77,7 +77,7 @@
@@ -329,7 +329,7 @@
- TSCH/CSH:
+ TCSH/CSH:
setenv ACE_ROOT /home/cs/faculty/schmidt/ACE_wrappers
@@ -427,6 +427,9 @@Using the Traditional ACE/GNU Configuration
If you've set the INSTALL_PREFIX before building, now run +% make install
An alternative to directly running
make install is to use
$ACE_ROOT/bin/install_proj.sh
+ which will only install projects that are built (instead of trying to build each one duringmake install
). +If you need to regenerate the ace/Svc_Conf_y.cpp
file, you'll need to @@ -2469,7 +2472,7 @@Compiling ACE with GNU g++
If you use the GNU GCC g++ compiler please note the following:-
ACE/TAO needs g++ 4.8 or better. Older versions are not usable anymore +
ACE/TAO needs g++ 4.8 or better. Older versions are not usable anymore
Make sure to update your gcc config.status
file. This file is produced when installing gcc; it specifies diff --git a/ACE/bin/install_proj.mk b/ACE/bin/install_proj.mk new file mode 100644 index 0000000000000..7884d811be2a6 --- /dev/null +++ b/ACE/bin/install_proj.mk @@ -0,0 +1,15 @@ +include $(PROJECT_MAKEFILE) + +POTENTIAL_FILES = $(BIN_UNCHECKED) $(SHLIB_UNCHECKED) $(LIB_UNCHECKED) +ACTUAL_FILES := $(wildcard $(POTENTIAL_FILES)) + +.PHONY: checked-install +ifeq ($(ACTUAL_FILES),) +checked-install: + @echo Skipping $(PROJECT_MAKEFILE:GNUmakefile.%=%), not built +else +.PHONY: checked-install-message +checked-install-message: + @echo Installing $(ACTUAL_FILES) +checked-install: checked-install-message install +endif diff --git a/ACE/bin/install_proj.sh b/ACE/bin/install_proj.sh new file mode 100755 index 0000000000000..468dfe10f76bb --- /dev/null +++ b/ACE/bin/install_proj.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# ACE's "make install" for an MPC-generated workspace will build all targets that aren't yet built +# This script looks for projects that have been built and installs just those projects +this_dir=$(realpath $(dirname $0)) +for makefile in $(find . -type f -name 'GNUmakefile.*'); do + if grep -q 'GNU Makefile' $makefile; then + echo Checking $makefile + cd $(dirname $makefile) + make -f $this_dir/install_proj.mk PROJECT_MAKEFILE=$(basename $makefile) checked-install "$@" + cd - >/dev/null + fi +done