official guide의 모든 단계를 수행했습니다.소스에서 Tensorflow를 빌드 할 수 없습니다. High Sierra
이$ bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=- msse4.1 --copt=-msse4.2 --config=opt -k //tensorflow/tools/pip_package:build_pip_package
그리고 ./config
동안 내가 올바른 경로 및 장애인 Google 클라우드 플랫폼, 하둡, XLA, 동사, 오픈 CL, CUDA, MPI 지원을 설정 한 : 내가 사용하여 내장 제외.
하드웨어 :
- 맥북 프로 13 인치 (중앙 2014)
- CPU : 인텔 코어 i5 (4278U)
- RAM :
-
:
소프트웨어 8기가바이트
- 하이 시에라 (10.13.2) (210)
- 연타 버전 : 그 소리-900.0.39.2
- Bazel 버전 : 0.9.0
- CONDA 버전 : 4.4.3
- 파이썬 : 3.6.3
모든 패키지는 최대 개까지 날짜입니다. 2 달 전에이 컴퓨터에서 완벽하게 정상적으로 작동했습니다. 이상한 이유로 지금은 더 이상 구축되지 않습니다. 난 그냥 여기에 오류 목록의 일부 게시하도록하겠습니다 :
WARNING: Config values are not defined in any .rc file: opt
ERROR: Skipping 'msse4.1': no such target '//:msse4.1': target 'msse4.1' not declared in package '' defined by /Users/rakshithgb/Documents/Tensorflow/tensorflow/BUILD
WARNING: Target pattern parsing failed.
ERROR: /private/var/tmp/_bazel_rakshithgb/fde7bc60972656b0c2db4fd0b79e24fb/external/com_googlesource_code_re2/BUILD:96:1: First argument of 'load' must be a label and start with either '//', ':', or '@'. Use --incompatible_load_argument_is_label=false to temporarily disable this check.
ERROR: /private/var/tmp/_bazel_rakshithgb/fde7bc60972656b0c2db4fd0b79e24fb/external/com_googlesource_code_re2/BUILD:98:1: name 're2_test' is not defined (did you mean 'ios_test'?)
ERROR: /private/var/tmp/_bazel_rakshithgb/fde7bc60972656b0c2db4fd0b79e24fb/external/com_googlesource_code_re2/BUILD:100:1: name 're2_test' is not defined (did you mean 'ios_test'?)
을 그리고는 다음과 같이 끝 : 다른 사람이 문제가 있었나요
? 어떻게 수정해야합니까? GitHub Tensorflow 문제 페이지에 전체 오류 로그를 업로드했습니다. #15622ERROR: /Users/rakshithgb/Documents/Tensorflow/tensorflow/tensorflow/core/kernels/BUILD:550:1: Target '@local_config_sycl//sycl:using_sycl' contains an error and its package is in error and referenced by '//tensorflow/core/kernels:debug_ops'
WARNING: errors encountered while analyzing target '//tensorflow/tools/pip_package:build_pip_package': it will not be built
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (203 packages loaded).
INFO: Found 0 targets...
ERROR: command succeeded, but there were errors parsing the target pattern
INFO: Elapsed time: 12.763s, Critical Path: 0.02s
FAILED: Build did NOT complete successfully