facebookarchive / android-jsc

Scripts for building JSC for Android
Other
255 stars 38 forks source link

No CI. Does not build on latest NDK/BUCK #23

Open bootstraponline opened 7 years ago

bootstraponline commented 7 years ago
buck build :android-jsc
[+] PARSING BUCK FILES...1.1s [100%]
[-] PROCESSING BUCK FILES...FINISHED 1.2s [100%]
[-] DOWNLOADING... (0.00 B/S AVG, TOTAL: 0.00 B, 0 Artifacts)
[-] BUILDING...FINISHED 0.0s
BUILD FAILED: The following flavor(s) are not supported on target //jsc:jscoffsetextractor#android-armv7,static:
android-armv7, static.

- Please check the spelling of the flavor(s).
- If the spelling is correct, please check that the related SDK has been installed.
- android-armv7: Please make sure you have the Android SDK/NDK installed and set up. See https://buckbuild.com/setup/install.html#locate-android-sdk

This error happened while trying to get dependency '//jsc:jscoffsetextractor#android-armv7,static' of target '//jsc:LLIntAssembly.android-armv7.h'

I've updated .buckconfig to use ndk_version = r15c NDK is installed and environment variables are setup.

export ANDROID_HOME="$HOME/Library/Android/sdk"
export ANDROID_NDK_REPOSITORY="$HOME/code/android_ndk/android-ndk-r15c"
export ANDROID_SDK="$ANDROID_HOME"

It'd be nice to at least have Travis CI enabled to verify the code builds.

bootstraponline commented 7 years ago

looks like https://github.com/facebook/android-jsc/pull/19 solves these issues.

rudoydenis commented 6 years ago

My solution was running this command in terminal: sudo xcode-select --reset