diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2016-08-26 10:07:29 -0400 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2016-08-29 16:20:18 -0400 |
commit | 1657f12f75879fdc0cb0555d7b8af39a3b3bbec7 (patch) | |
tree | 87a9f30e96c1c3368ac15cc1503292a1aa8eb794 /tools/create_expfile.sh | |
parent | c8619ea3c38d025e6558ee19b40cd5b8f9d49f73 (diff) | |
download | android-node-v8-1657f12f75879fdc0cb0555d7b8af39a3b3bbec7.tar.gz android-node-v8-1657f12f75879fdc0cb0555d7b8af39a3b3bbec7.tar.bz2 android-node-v8-1657f12f75879fdc0cb0555d7b8af39a3b3bbec7.zip |
build: fix dependencies on AIX
Addon tests were still starting to run before the node exp file
creation was complete.
- remove process_outputs_as_sources as it did not fix the
problem
- update create_expfile.sh so that exp file is created in a
temporary file and then renamed to final name so that
file is only visible once it is complete
- update target used in building Addons so that for
AIX it depends on the exp file being available
PR-URL: https://github.com/nodejs/node/pull/8285
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'tools/create_expfile.sh')
-rwxr-xr-x | tools/create_expfile.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/create_expfile.sh b/tools/create_expfile.sh index ff4420a9e8..e27ed77757 100755 --- a/tools/create_expfile.sh +++ b/tools/create_expfile.sh @@ -36,7 +36,7 @@ echo "Searching $1 to write out expfile to $2" # this special sequence must be at the start of the exp file -echo "#!." > $2 +echo "#!." > $2.tmp # pull the symbols from the .a files find $1 -name "*.a" | grep -v gtest \ @@ -45,4 +45,6 @@ find $1 -name "*.a" | grep -v gtest \ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' \ - | sort -u >> $2 + | sort -u >> $2.tmp + +mv -f $2.tmp $2 |