|
|
|
|
|
|
|
|
pushd v8pp && git checkout d62a0d581fd4ab05beb8a675216a12c72a5077c8 # master at time of writing |
|
|
pushd v8pp && git checkout d62a0d581fd4ab05beb8a675216a12c72a5077c8 # master at time of writing |
|
|
|
|
|
|
|
|
bash ../ubuntu1804.sh make build |
|
|
bash ../ubuntu1804.sh make build |
|
|
bash ../ubuntu1804.sh make archive # outside container not enough permissions |
|
|
|
|
|
|
|
|
#bash ../ubuntu1804.sh make archive # outside container not enough permissions |
|
|
bash ../ubuntu1804.sh make package # outside container not enough permissions |
|
|
bash ../ubuntu1804.sh make package # outside container not enough permissions |
|
|
|
|
|
|
|
|
# also packages v8pp for now |
|
|
# also packages v8pp for now |
|
|
|
|
|
|
|
|
git clone https://github.com/pmed/v8pp || true |
|
|
git clone https://github.com/pmed/v8pp || true |
|
|
pushd v8pp && git checkout d62a0d581fd4ab05beb8a675216a12c72a5077c8 # master at time of writing |
|
|
pushd v8pp && git checkout d62a0d581fd4ab05beb8a675216a12c72a5077c8 # master at time of writing |
|
|
bash ../ubuntu2004.sh make build |
|
|
bash ../ubuntu2004.sh make build |
|
|
bash ../ubuntu2004.sh make archive # outside container not enough permissions |
|
|
|
|
|
|
|
|
#bash ../ubuntu2004.sh make archive # outside container not enough permissions |
|
|
bash ../ubuntu2004.sh make package # outside container not enough permissions |
|
|
bash ../ubuntu2004.sh make package # outside container not enough permissions |
|
|
# also packages v8pp for now |
|
|
# also packages v8pp for now |
|
|
make fpm_package |
|
|
make fpm_package |
|
|
|
|
|
|
|
|
# will be factored out at some point |
|
|
# will be factored out at some point |
|
|
git clone -b v1.8.1 https://github.com/pmed/v8pp || true |
|
|
git clone -b v1.8.1 https://github.com/pmed/v8pp || true |
|
|
bash ../ubuntu2204.sh make build |
|
|
bash ../ubuntu2204.sh make build |
|
|
bash ../ubuntu2204.sh make archive # outside container not enough permissions |
|
|
|
|
|
|
|
|
#bash ../ubuntu2204.sh make archive # outside container not enough permissions |
|
|
bash ../ubuntu2204.sh make package # outside container not enough permissions |
|
|
bash ../ubuntu2204.sh make package # outside container not enough permissions |
|
|
# also packages v8pp for now |
|
|
# also packages v8pp for now |
|
|
make fpm_package |
|
|
make fpm_package |
|
|
|
|
|
|
|
|
cp -prv /usr/bin/python2.7 /usr/bin/python # stupid depot tool scripts |
|
|
cp -prv /usr/bin/python2.7 /usr/bin/python # stupid depot tool scripts |
|
|
cp -prv /usr/bin/python2.7 /usr/bin/python2 # stupid depot tool scripts |
|
|
cp -prv /usr/bin/python2.7 /usr/bin/python2 # stupid depot tool scripts |
|
|
./build-v8.sh |
|
|
./build-v8.sh |
|
|
|
|
|
make package # already prepare the package (without v8pp/config.hpp avail.) |
|
|
./build-v8pp.sh # basically only produces the v8pp/config.hpp (from config.hpp.in) |
|
|
./build-v8pp.sh # basically only produces the v8pp/config.hpp (from config.hpp.in) |
|
|
|
|
|
|
|
|
archive: |
|
|
|
|
|
rm -rf v8.a |
|
|
|
|
|
#ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') |
|
|
|
|
|
# third_party/ |
|
|
|
|
|
# excluding buildtools/third_party directory which contains libc++ etc., or you will get linker errors. |
|
|
|
|
|
# ./out/x64.release/obj/buildtools/third_party/libc++/libc++/ |
|
|
|
|
|
# second exclude for external snapshot, we need only the non-external one, or we get some weeiiird results of course! |
|
|
|
|
|
# both implement DefaultSnapshotBlob() and we need to add the right one to the object file. |
|
|
|
|
|
# ERR, ar rvs v8.a $$(find ./v8/out/x64.release/ -type f -name '*.o' | grep -v "buildtools/third_party/libc++/libc++" | grep -v "v8_external_snapshot") |
|
|
|
|
|
# Let's go back to our white-list approach.. let's see... |
|
|
|
|
|
#ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') |
|
|
|
|
|
# We no longer use our v8.a, still including it for now. |
|
|
|
|
|
# no longer works with newer, missing some files echo all included object files listed below |
|
|
|
|
|
# no longer works with newer, missing some files ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') |
|
|
|
|
|
# We'll use this one below.. |
|
|
|
|
|
find ./v8/out/x64.release/ -name 'libv8_monolith.a' -type f |
|
|
|
|
|
# We'll also include .so files.. |
|
|
|
|
|
find ./v8/out/x64.release/ -name '*.so' -type f |
|
|
|
|
|
|
|
|
#archive: |
|
|
|
|
|
# rm -rf v8.a |
|
|
|
|
|
# #ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') |
|
|
|
|
|
# # third_party/ |
|
|
|
|
|
# # excluding buildtools/third_party directory which contains libc++ etc., or you will get linker errors. |
|
|
|
|
|
# # ./out/x64.release/obj/buildtools/third_party/libc++/libc++/ |
|
|
|
|
|
# # second exclude for external snapshot, we need only the non-external one, or we get some weeiiird results of course! |
|
|
|
|
|
# # both implement DefaultSnapshotBlob() and we need to add the right one to the object file. |
|
|
|
|
|
# # ERR, ar rvs v8.a $$(find ./v8/out/x64.release/ -type f -name '*.o' | grep -v "buildtools/third_party/libc++/libc++" | grep -v "v8_external_snapshot") |
|
|
|
|
|
# # Let's go back to our white-list approach.. let's see... |
|
|
|
|
|
# #ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') |
|
|
|
|
|
# # We no longer use our v8.a, still including it for now. |
|
|
|
|
|
# # no longer works with newer, missing some files echo all included object files listed below |
|
|
|
|
|
# # no longer works with newer, missing some files ar rvs v8.a $$(cat v8-include.txt |xargs -n 1 -I{} find {} -name '*.o') |
|
|
|
|
|
# # We'll use this one below.. |
|
|
|
|
|
# find ./v8/out/x64.release/ -name 'libv8_monolith.a' -type f |
|
|
|
|
|
# # We'll also include .so files.. |
|
|
|
|
|
# find ./v8/out/x64.release/ -name '*.so' -type f |
|
|
|
|
|
|
|
|
package: |
|
|
package: |
|
|
rm -rf out |
|
|
rm -rf out |