Created
April 27, 2020 15:48
-
-
Save davipatti/7548354cc384f188739a444e40a1575f to your computer and use it in GitHub Desktop.
lc0 build fail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david@puck~/D/lc0> ./build.sh | |
~/Downloads/lc0 ~/Downloads/lc0 | |
The Meson build system | |
Version: 0.51.2 | |
Source dir: /home/david/Downloads/lc0 | |
Build dir: /home/david/Downloads/lc0/build/release | |
Build type: native build | |
Project name: lc0 | |
Project version: undefined | |
C++ compiler for the host machine: ccache c++ (gcc 9.2.1 "c++ (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008") | |
Build machine cpu family: x86_64 | |
Build machine cpu: x86_64 | |
Compiler for C++ supports arguments -march=native: YES | |
Program scripts/compile_proto.py found: YES (/home/david/Downloads/lc0/scripts/compile_proto.py) | |
Program git found: YES (/usr/bin/git) | |
Message: Using build identifier "git.4b8acff". | |
Run-time dependency threads found: YES | |
Library dl found: YES | |
Library libtensorflow_cc found: NO | |
Found pkg-config: /usr/bin/pkg-config (0.29.1) | |
Found CMake: /usr/bin/cmake (3.13.4) | |
Run-time dependency accelerate found: NO (tried pkgconfig and cmake) | |
Library mkl_rt found: NO | |
Library mklml found: NO | |
Library dnnl found: NO | |
Library openblas.dll found: NO | |
Library openblas found: YES | |
Has header "openblas_config.h" : YES | |
Program ispc found: NO | |
Library OpenCL found: YES | |
Run-time dependency opencl found: YES 2.1 | |
Library cublas found: YES | |
Library cudnn found: YES | |
Library cudart found: YES | |
Program nvcc found: YES (/usr/bin/nvcc) | |
Run-time dependency zlib found: YES 1.2.11 | |
Run-time dependency GTest found: YES (prebuilt) | |
Build targets in project: 8 | |
Found ninja-1.9.0 at /usr/bin/ninja | |
[120/134] Compiling C++ object 'lc0_lib@sha/src_neural_cuda_layers.cc.o'. | |
FAILED: lc0_lib@sha/src_neural_cuda_layers.cc.o | |
ccache c++ -Ilc0_lib@sha -I. -I../.. -I../../src -I/usr/local/cuda/include/ -I/usr/lib/cuda/include/ -I../../src/neural/cuda/ -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -march=native '-DBUILD_IDENTIFIER="git.4b8acff"' -DUSE_OPENBLAS -DNO_PEXT -fPIC -pthread -isystem ../../third_party -MD -MQ 'lc0_lib@sha/src_neural_cuda_layers.cc.o' -MF 'lc0_lib@sha/src_neural_cuda_layers.cc.o.d' -o 'lc0_lib@sha/src_neural_cuda_layers.cc.o' -c ../../src/neural/cuda/layers.cc | |
In file included from /usr/local/cuda/include/channel_descriptor.h:61, | |
from /usr/local/cuda/include/cuda_runtime.h:95, | |
from /usr/local/cuda/include/cudnn.h:64, | |
from ../../src/neural/cuda/layers.h:31, | |
from ../../src/neural/cuda/layers.cc:27: | |
/usr/local/cuda/include/cuda_runtime_api.h:2480:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration | |
2480 | extern __host__ cudaError_t CUDARTAPI cudaStreamBeginCapture(cudaStream_t stream, enum cudaStreamCaptureMode mode); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/cuda/include/cuda_runtime_api.h:2531:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration | |
2531 | extern __host__ cudaError_t CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
[121/134] Compiling C++ object 'lc0@exe/src_neural_cuda_layers.cc.o'. | |
FAILED: lc0@exe/src_neural_cuda_layers.cc.o | |
ccache c++ -Ilc0@exe -I. -I../.. -I../../src -I/usr/local/cuda/include/ -I/usr/lib/cuda/include/ -I../../src/neural/cuda/ -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -march=native '-DBUILD_IDENTIFIER="git.4b8acff"' -DUSE_OPENBLAS -DNO_PEXT -pthread -isystem ../../third_party -MD -MQ 'lc0@exe/src_neural_cuda_layers.cc.o' -MF 'lc0@exe/src_neural_cuda_layers.cc.o.d' -o 'lc0@exe/src_neural_cuda_layers.cc.o' -c ../../src/neural/cuda/layers.cc | |
In file included from /usr/local/cuda/include/channel_descriptor.h:61, | |
from /usr/local/cuda/include/cuda_runtime.h:95, | |
from /usr/local/cuda/include/cudnn.h:64, | |
from ../../src/neural/cuda/layers.h:31, | |
from ../../src/neural/cuda/layers.cc:27: | |
/usr/local/cuda/include/cuda_runtime_api.h:2480:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration | |
2480 | extern __host__ cudaError_t CUDARTAPI cudaStreamBeginCapture(cudaStream_t stream, enum cudaStreamCaptureMode mode); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/cuda/include/cuda_runtime_api.h:2531:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration | |
2531 | extern __host__ cudaError_t CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
[125/134] Generating 'lc0_lib@sha/fp16_kernels.o'. | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment