Skip to content

Commit

Permalink
Not use OpenMP for android build (#3636)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyu-wang authored Apr 23, 2020
1 parent 0091791 commit 02bae6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def generate_build_tree(cmake_path, source_dir, build_dir, cuda_home,
"-Donnxruntime_USE_NNAPI=" + ("ON" if args.use_dnnlibrary else "OFF"),
"-Donnxruntime_USE_OPENMP=" + (
"ON" if args.use_openmp and not args.use_dnnlibrary and
not args.use_mklml and not args.use_ngraph else "OFF"),
not args.use_mklml and not args.use_ngraph and not args.android else "OFF"),
"-Donnxruntime_USE_TVM=" + ("ON" if args.use_tvm else "OFF"),
"-Donnxruntime_USE_LLVM=" + ("ON" if args.use_llvm else "OFF"),
"-Donnxruntime_ENABLE_MICROSOFT_INTERNAL=" + (
Expand Down

0 comments on commit 02bae6b

Please sign in to comment.