File tree Expand file tree Collapse file tree 3 files changed +2
-13
lines changed
Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ target_compile_options(neuron_backend PRIVATE "-frtti" "-fexceptions")
2727target_link_libraries (neuron_backend
2828 PRIVATE
2929 executorch_core
30+ portable_ops_lib
31+ portable_kernels
3032 android
3133 log
3234)
Original file line number Diff line number Diff line change 66# Define the directory where CMakeLists.txt is located
77SOURCE_DIR=$( realpath " $( dirname " $0 " ) /../../.." )
88
9- # Check if buck2 exists
10- BUCK_PATH=${BUCK2:- buck2}
11- if [ -z " $BUCK2 " ]; then
12- echo " Info: BUCK2 environment variable is not set." >&2
13- fi
14-
159# Check if the ANDROID_NDK environment variable is set
1610if [ -z " $ANDROID_NDK " ]; then
1711 echo " Error: ANDROID_NDK environment variable is not set." >&2
Original file line number Diff line number Diff line change 77EXECUTORCH_ROOT=$( realpath " $( dirname " $0 " ) /../.." )
88echo EXECUTORCH_ROOT=${EXECUTORCH_ROOT}
99
10- # Check if buck2 exists
11- BUCK_PATH=${BUCK2:- buck2}
12- if [ -z " $BUCK2 " ]; then
13- echo " Info: BUCK2 environment variable is not set." >&2
14- fi
15-
1610# Check if the ANDROID_NDK environment variable is set
1711if [ -z " $ANDROID_NDK " ]; then
1812 echo " Error: ANDROID_NDK environment variable is not set." >&2
@@ -30,7 +24,6 @@ main() {
3024 # Configure the project with CMake
3125 # Note: Add any additional configuration options you need here
3226 cmake -DCMAKE_INSTALL_PREFIX=" ${build_dir} " \
33- -DBUCK2=" $BUCK_PATH " \
3427 -DCMAKE_TOOLCHAIN_FILE=" $ANDROID_NDK /build/cmake/android.toolchain.cmake" \
3528 -DANDROID_ABI=arm64-v8a \
3629 -DANDROID_NATIVE_API_LEVEL=26 \
You can’t perform that action at this time.
0 commit comments