Skip to content

Commit

Permalink
Never search for packages in the system
Browse files Browse the repository at this point in the history
  • Loading branch information
Paco Wong committed Apr 11, 2024
1 parent e55f724 commit 1645c21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ def generate_build_tree(
"-Donnxruntime_BUILD_OBJC=" + ("ON" if args.build_objc else "OFF"),
"-Donnxruntime_BUILD_SHARED_LIB=" + ("ON" if args.build_shared_lib else "OFF"),
"-Donnxruntime_BUILD_APPLE_FRAMEWORK=" + ("ON" if args.build_apple_framework else "OFF"),
"-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=NEVER", #PACO
"-Donnxruntime_USE_DNNL=" + ("ON" if args.use_dnnl else "OFF"),
"-Donnxruntime_USE_NNAPI_BUILTIN=" + ("ON" if args.use_nnapi else "OFF"),
"-Donnxruntime_USE_RKNPU=" + ("ON" if args.use_rknpu else "OFF"),
Expand Down Expand Up @@ -1792,7 +1793,7 @@ def build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, targe
if args.android:
env["ANDROID_SDK_ROOT"] = args.android_sdk_path
env["ANDROID_NDK_HOME"] = args.android_ndk_path
cmd_args += ['--verbose']
# cmd_args += ['--verbose']
print(cmd_args)
print(env)
run_subprocess(cmd_args, env=env)
Expand Down

0 comments on commit 1645c21

Please sign in to comment.