You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2024. It is now read-only.
Describe the problem
I encountered 'unistd.h': No such file or directory building custom-op on Windows.
There is a similar post with workaround: @Runinho in #26 (comment)
But I still don't understand how to fix it. Any help or advice?
Provide the exact sequence of commands / steps that you executed before running into the problem
git clone custom-op from github
replace python3 with python in configure.sh
Run ./configure.sh
Do you want to build ops again TensorFlow CPU pip package? Y or enter for CPU (tensorflow-cpu), N for GPU (tensorflow). [Y/n] N
Build with GPU pip package.
On windows, skipping toolchain flags..
Are you building against TensorFlow 2.1(including RCs) or newer?[Y/n] Y
Build against TensorFlow 2.1 or newer.
Using installed tensorflow
2020-11-09 17:19:16.862422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-11-09 17:19:25.421403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
Run bazel build build_pip_pkg
bazel-out/x64_windows-opt/bin/external/local_config_tf/include\unsupported/Eigen/CXX11/Tensor(74): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Target //:build_pip_pkg failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 162.913s, Critical Path: 129.03s
INFO: 1101 processes: 1096 internal, 5 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
System information
Describe the problem
I encountered
'unistd.h': No such file or directory
building custom-op on Windows.There is a similar post with workaround: @Runinho in #26 (comment)
But I still don't understand how to fix it. Any help or advice?
Provide the exact sequence of commands / steps that you executed before running into the problem
./configure.sh
bazel build build_pip_pkg
Detailed messages: error_messages_20201109.txt
The text was updated successfully, but these errors were encountered: