Skip to content

Instantly share code, notes, and snippets.

@davipatti
Created April 27, 2020 20:24
Show Gist options
  • Save davipatti/e9fffeaf09b8be967903bc072148d5b2 to your computer and use it in GitHub Desktop.
Save davipatti/e9fffeaf09b8be967903bc072148d5b2 to your computer and use it in GitHub Desktop.
lc0 build fail
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/local/cuda/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
[1/134] Generating 'lc0@exe/common_kernels.o'.
FAILED: lc0@exe/common_kernels.o
/usr/local/cuda/bin/nvcc -c ../../src/neural/cuda/common_kernels.cu -o lc0@exe/common_kernels.o -I /home/david/Downloads/lc0/src --std=c++14 -Xcompiler -fPIC -I /opt/cuda/include/ -I /usr/local/cuda/include/ -I /usr/lib/cuda/include/
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
[2/134] Generating 'lc0@exe/fp16_kernels.o'.
FAILED: lc0@exe/fp16_kernels.o
/usr/local/cuda/bin/nvcc -arch=compute_70 -code=sm_70 -c ../../src/neural/cuda/fp16_kernels.cu -o lc0@exe/fp16_kernels.o -I /home/david/Downloads/lc0/src --std=c++14 -Xcompiler -fPIC -I /opt/cuda/include/ -I /usr/local/cuda/include/ -I /usr/lib/cuda/include/
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
[3/134] Generating 'lc0_lib@sha/common_kernels.o'.
FAILED: lc0_lib@sha/common_kernels.o
/usr/local/cuda/bin/nvcc -c ../../src/neural/cuda/common_kernels.cu -o lc0_lib@sha/common_kernels.o -I /home/david/Downloads/lc0/src --std=c++14 -Xcompiler -fPIC -I /opt/cuda/include/ -I /usr/local/cuda/include/ -I /usr/lib/cuda/include/
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
[4/134] Generating 'lc0_lib@sha/fp16_kernels.o'.
FAILED: lc0_lib@sha/fp16_kernels.o
/usr/local/cuda/bin/nvcc -arch=compute_70 -code=sm_70 -c ../../src/neural/cuda/fp16_kernels.cu -o lc0_lib@sha/fp16_kernels.o -I /home/david/Downloads/lc0/src --std=c++14 -Xcompiler -fPIC -I /opt/cuda/include/ -I /usr/local/cuda/include/ -I /usr/lib/cuda/include/
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
[7/134] Generating 'lc0@exe/proto/net.pb.h'.
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment