android-jsc icon indicating copy to clipboard operation
android-jsc copied to clipboard

No CI. Does not build on latest NDK/BUCK

Open bootstraponline opened this issue 6 years ago • 2 comments

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 avatar Aug 11 '17 18:08 bootstraponline

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

bootstraponline avatar Aug 11 '17 18:08 bootstraponline

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

rudoydenis avatar Apr 30 '18 20:04 rudoydenis