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")
27
27
target_link_libraries (neuron_backend
28
28
PRIVATE
29
29
executorch_core
30
+ portable_ops_lib
31
+ portable_kernels
30
32
android
31
33
log
32
34
)
Original file line number Diff line number Diff line change 6
6
# Define the directory where CMakeLists.txt is located
7
7
SOURCE_DIR=$( realpath " $( dirname " $0 " ) /../../.." )
8
8
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
-
15
9
# Check if the ANDROID_NDK environment variable is set
16
10
if [ -z " $ANDROID_NDK " ]; then
17
11
echo " Error: ANDROID_NDK environment variable is not set." >&2
Original file line number Diff line number Diff line change 7
7
EXECUTORCH_ROOT=$( realpath " $( dirname " $0 " ) /../.." )
8
8
echo EXECUTORCH_ROOT=${EXECUTORCH_ROOT}
9
9
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
-
16
10
# Check if the ANDROID_NDK environment variable is set
17
11
if [ -z " $ANDROID_NDK " ]; then
18
12
echo " Error: ANDROID_NDK environment variable is not set." >&2
@@ -30,7 +24,6 @@ main() {
30
24
# Configure the project with CMake
31
25
# Note: Add any additional configuration options you need here
32
26
cmake -DCMAKE_INSTALL_PREFIX=" ${build_dir} " \
33
- -DBUCK2=" $BUCK_PATH " \
34
27
-DCMAKE_TOOLCHAIN_FILE=" $ANDROID_NDK /build/cmake/android.toolchain.cmake" \
35
28
-DANDROID_ABI=arm64-v8a \
36
29
-DANDROID_NATIVE_API_LEVEL=26 \
You can’t perform that action at this time.
0 commit comments