Skip to content

Instantly share code, notes, and snippets.

@rohanrayan
Last active July 29, 2024 09:49
Show Gist options
  • Save rohanrayan/7503fa5c0da3698ce0a7617c594596fc to your computer and use it in GitHub Desktop.
Save rohanrayan/7503fa5c0da3698ce0a7617c594596fc to your computer and use it in GitHub Desktop.
onnxruntime_builderror_log
23%] Built target flatc
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/type_info_test_helper.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/internal/utility.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/json_util.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/message_differencer.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/time_util.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/util/type_resolver_util.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wire_format.cc.o
[ 23%] Building CXX object external/protobuf/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/wrappers.pb.cc.o
[ 23%] Linking CXX static library libprotobuf.a
[ 23%] Built target libprotobuf
make: *** [Makefile:166: all] Error 2
Traceback (most recent call last):
File "/home/Downloads/onnxruntime/tools/ci_build/build.py", line 2003, in <module>
sys.exit(main())
File "/home/Downloads/onnxruntime/tools/ci_build/build.py", line 1938, in main
build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, args.target)
File "/home/Downloads/onnxruntime/tools/ci_build/build.py", line 1017, in build_targets
run_subprocess(cmd_args, env=env)
File "/home/Downloads/onnxruntime/tools/ci_build/build.py", line 536, in run_subprocess
return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
File "/home/Downloads/onnxruntime/tools/python/util/run.py", line 41, in run
completed_process = subprocess.run(
File "/home/anaconda3/envs/dace_new/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/anaconda3/envs/dace_new/bin/cmake', '--build', '/home/Downloads/onnxruntime/build/Linux/Release', '--config', 'Release', '--', '-j16']' returned non-zero exit status 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment