% git clone https://github.com/tensorflow/tensorflow
% cd tensorflow
[mutoh@pcbsd-vm] ~/TensorFlow/tensorflow% ./configure
Please specify the location of python. [Default is /usr/local/bin/python]:
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N]
No Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]
No XLA support will be enabled for TensorFlow
Found possible Python library paths:
/usr/local/lib/python2.7/site-packages
Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/site-packages]
Using python library path: /usr/local/lib/python2.7/site-packages
Do you wish to build TensorFlow with OpenCL support? [y/N]
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N]
No CUDA support will be enabled for TensorFlow
Configuration finished
Extracting Bazel installation...
(snip)
ERROR: error loading package 'tensorflow/python': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/usr/home/mutoh/TensorFlow/tensorflow/third_party/gpus/cuda_configure.bzl", line 822
_create_dummy_repository(repository_ctx)
File "/usr/home/mutoh/TensorFlow/tensorflow/third_party/gpus/cuda_configure.bzl", line 654, in _create_dummy_repository
_tpl(repository_ctx, "cuda:BUILD", {"%{cu...)})
File "/usr/home/mutoh/TensorFlow/tensorflow/third_party/gpus/cuda_configure.bzl", line 656, in _tpl
_lib_name("cuda", cpu_value)
File "/usr/home/mutoh/TensorFlow/tensorflow/third_party/gpus/cuda_configure.bzl", line 388, in _lib_name
auto_configure_fail("Invalid cpu_value: %s" % cpu_va...)
File "/usr/home/mutoh/TensorFlow/tensorflow/third_party/gpus/cuda_configure.bzl", line 93, in auto_configure_fail
fail("
%sAuto-Configuration Error:%s ...))
Auto-Configuration Error: Invalid cpu_value: FreeBSD