File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
backends/mediatek/scripts Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,6 @@ if [ -z "$ANDROID_NDK" ]; then
1818 exit 1
1919fi
2020
21- # Check if the NEURON_BUFFER_ALLOCATOR_LIB environment variable is set
22- if [ -z " $NEURON_BUFFER_ALLOCATOR_LIB " ]; then
23- echo " Error: NEURON_BUFFER_ALLOCATOR_LIB environment variable is not set." >&2
24- exit 1
25- fi
26-
2721# Create and enter the build directory
2822# Set build directory
2923build_dir=" cmake-android-out"
Original file line number Diff line number Diff line change @@ -19,12 +19,6 @@ if [ -z "$ANDROID_NDK" ]; then
1919 exit 1
2020fi
2121
22- # Check if the NEURON_BUFFER_ALLOCATOR_LIB environment variable is set
23- if [ -z " $NEURON_BUFFER_ALLOCATOR_LIB " ]; then
24- echo " Error: NEURON_BUFFER_ALLOCATOR_LIB environment variable is not set." >&2
25- exit 1
26- fi
27-
2822main () {
2923 # Set build directory
3024 local build_dir=" cmake-android-out"
@@ -42,7 +36,6 @@ main() {
4236 -DANDROID_NATIVE_API_LEVEL=26 \
4337 -DANDROID_PLATFORM=android-26 \
4438 -DEXECUTORCH_BUILD_NEURON=ON \
45- -DNEURON_BUFFER_ALLOCATOR_LIB=" $NEURON_BUFFER_ALLOCATOR_LIB " \
4639 -B" ${build_dir} "
4740
4841
You can’t perform that action at this time.
0 commit comments