Skip to content

[WIP]: Adding arm builds. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@ matrix:
include:
- os: linux
sudo: required
dist: xenial
env: V8_BUILD_ARCH=amd64
- os: linux
sudo: required
dist: xenial
env: V8_BUILD_ARCH=armhf
- os: osx
env: V8_BUILD_ARCH=amd64
env:
global:
- CCACHE_CPP2=yes
- CCACHE_SLOPPINESS=time_macros
- V8_ARCHIVE_NAME=v8-${TRAVIS_OS_NAME}-x64.tar.gz
- V8_ARCHIVE_NAME=v8-${TRAVIS_OS_NAME}-${V8_BUILD_ARCH}.tar.gz
cache:
ccache: true
if: tag IS present
Expand All @@ -27,6 +34,10 @@ addons:
- gcc-5
- g++-5
- libatspi2.0-dev
- g++-arm-linux-gnueabihf
- gcc-arm-linux-gnueabihf
- g++-multilib-arm-linux-gnueabihf
- libc6-armhf-cross


install:
Expand All @@ -49,7 +60,7 @@ install:

script:
- cd v8
- gn gen out.gn/lib --args=''"$(cat ../args.${TRAVIS_OS_NAME}.gn)"''
- gn gen out.gn/lib --args=''"$(cat ../args.${TRAVIS_OS_NAME}.${V8_BUILD_ARCH}.gn)"''
- ninja -C out.gn/lib v8_monolith
- cd ..

Expand Down
File renamed without changes.
25 changes: 25 additions & 0 deletions args.linux.armhf.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
target_cpu = "arm"
cc_wrapper = "ccache"
is_cfi = false
is_official_build = true
v8_deprecation_warnings = false
v8_enable_gdbjit = false
v8_enable_i18n_support = false
v8_experimental_extra_library_files = []
v8_extra_library_files = []
v8_imminent_deprecation_warnings = false
v8_monolithic = true
v8_untrusted_code_mitigations = false
v8_use_external_startup_data = false
v8_use_snapshot = true
is_clang=false
use_sysroot=false
treat_warnings_as_errors=false
v8_monolithic=true
use_drfuzz=false
use_libfuzzer=false
v8_enable_test_features=""
use_glib=false
use_custom_libcxx=false
use_custom_libcxx_for_host=false
v8_target_cpu = "arm"
File renamed without changes.