Commit 40e08d2e authored by Oleg Korshul's avatar Oleg Korshul

linux v8 checkout & build. work version

parent b316fe30
......@@ -33,7 +33,7 @@ cd "$SCRIPTPATH/v8"
if [[ "$platform" == *"linux"* ]]
then
CFLAGS="-fPIC" CXXFLAGS="-fPIC" make native
CFLAGS="-fPIC" CXXFLAGS="-fPIC" make native GYPFLAGS=-Dclang=0
cp "./out/native/obj.target/tools/gyp/libv8_base.a" "./../$platform$arch/"
cp "./out/native/obj.target/tools/gyp/libv8_libbase.a" "./../$platform$arch/"
......@@ -46,6 +46,8 @@ cp "./out/native/obj.target/third_party/icu/libicuuc.a" "./../$platform$arch/"
cp "./out/native/obj.target/third_party/icu/libicudata.a" "./../$platform$arch/"
cp "./third_party/icu/linux/icudtl_dat.S" "./../$platform$arch/"
cp "./third_party/icu/source/data/in/icudtl.dat" "./../$platform$arch/"
fi
if [[ "$platform" == *"mac"* ]]
......
......@@ -5,19 +5,16 @@ SCRIPTPATH=$(dirname "$SCRIPT")
cd "$SCRIPTPATH"
if [ -d "depot_tools" ]
if [ ! -d "depot_tools" ]
then
echo ""
else
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
fi
export PATH=`pwd`/depot_tools:"$PATH"
gclient
if [ -d "./v8" ]
if [ ! -d "./v8" ]
then
gclient sync
else
fetch v8
fi
gclient sync -r 4.10.253
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment