File size: 12,620 Bytes
0955f14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
Build started at 2024-02-19T14:02:35.128840
Main binary: /usr/bin/python3
Build Options: -Dprefix=/usr/local -Dbuildtype=release -Dbackend=ninja
Python system: Linux
The Meson build system
Version: 0.61.2
Source dir: /media/hailey/More/AI/mamba.py/lc0
Build dir: /media/hailey/More/AI/mamba.py/lc0/build/release
Build type: native build
Project name: lc0
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Running compile:
Working directory:  /tmp/tmp_t90lox1
Command line:  c++ /tmp/tmp_t90lox1/testfile.cpp -o /tmp/tmp_t90lox1/output.obj -D_FILE_OFFSET_BITS=64 -c -std=c++17 

Code:
 int i = static_cast<int>(0);
Compiler stdout:
 
Compiler stderr:
 
Compiler accepts -std=c++17: YES
Using cached compile:
Cached command line:   

Code:
 
        #ifdef __has_include
         #if !__has_include("optional")
          #error "Header 'optional' could not be found"
         #endif
        #else
         #include <optional>
        #endif
Cached compiler stdout:
 
Cached compiler stderr:
 
Has header "optional" : YES (cached)
Using cached compile:
Cached command line:   

Code:
 
        #ifdef __has_include
         #if !__has_include("string_view")
          #error "Header 'string_view' could not be found"
         #endif
        #else
         #include <string_view>
        #endif
Cached compiler stdout:
 
Cached compiler stderr:
 
Has header "string_view" : YES (cached)
Using cached compile:
Cached command line:   

Code:
 
        #ifdef __has_include
         #if !__has_include("charconv")
          #error "Header 'charconv' could not be found"
         #endif
        #else
         #include <charconv>
        #endif
Cached compiler stdout:
 
Cached compiler stderr:
 
Has header "charconv" : YES (cached)
Using cached compile:
Cached command line:   

Code:
 extern int i;
int i;

Cached compiler stdout:
 
Cached compiler stderr:
 
Compiler for C++ supports arguments -march=native: YES (cached)
Program scripts/compile_proto.py found: YES (/media/hailey/More/AI/mamba.py/lc0/scripts/compile_proto.py)
Program git found: YES (/usr/bin/git)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Running command: /media/hailey/More/AI/mamba.py/lc0/scripts/checkdir.py libs/lczero-common/proto
--- stdout ---

--- stderr ---


Running command: /usr/bin/git rev-parse --short HEAD
--- stdout ---
7de98a1

--- stderr ---


Running command: /usr/bin/git diff-index --quiet HEAD
--- stdout ---

--- stderr ---


Running command: /usr/bin/git describe --exact-match --tags
--- stdout ---

--- stderr ---
fatal: no tag exactly matches '7de98a1198b017a96315d62c52f10e695c93d5ef'


Message: Using build identifier "git.7de98a1".
Configuring build_id.h using configuration
Dependency threads found: YES unknown (cached)
Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpp_8pd9cx
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpp_8pd9cx/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpp_8pd9cx/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--start-group -ldl -Wl,--end-group -Wl,--allow-shlib-undefined 

Code:
 int main(void) { return 0; }

Compiler stdout:
 
Compiler stderr:
 
Library dl found: YES
Pkg-config binary for 1 is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Did not find pkg-config by name 'pkg-config'
Found Pkg-config: NO
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is not cached
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Found CMake: /home/hailey/.local/bin/cmake (3.27.7)
Extracting basic cmake information
Try CMake generator: auto
Calling CMake (['/home/hailey/.local/bin/cmake']) in /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/cmake_tensorflow_cc with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/cmake_tensorflow_cc/CMakeMesonToolchainFile.cmake"
  - "."
  -- Module search paths:    ['/', '/home/hailey/.local/lib/python3.10/site-packages/cmake/data', '/opt', '/usr', '/usr/local']
  -- CMake root:             /home/hailey/.local/lib/python3.10/site-packages/cmake/data/share/cmake-3.27
  -- CMake architectures:    ['i386-linux-gnu', 'x86_64-linux-gnu']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/i386-linux-gnu', 'lib/x86_64-linux-gnu']
Preliminary CMake check failed. Aborting.
Run-time dependency tensorflow_cc found: NO (tried pkgconfig and cmake)
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency accelerate found: NO (tried pkgconfig and cmake)
Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpj54ms2ds
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpj54ms2ds/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpj54ms2ds/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive 

Code:
 #include<stdio.h>
        
        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        }
Compiler stdout:
 
Compiler stderr:
 
Program stdout:

8

Program stderr:


Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpgk0v62hi
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpgk0v62hi/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpgk0v62hi/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs 

Code:
 
Compiler stdout:
 install: /usr/lib/gcc/x86_64-linux-gnu/11/
programs: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/
libraries: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/11/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/11/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/

Compiler stderr:
 
Library mkl_rt found: NO
Library mklml found: NO
Library dnnl found: NO
Library openblas.dll found: NO
Library openblas found: NO
Pkg-config binary for 1 is cached as not found.
Pkg-config binary for machine 1 not found. Giving up.
CMake binary for 1 is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency eigen3 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency eigen3

Executing subproject eigen 

Project name: eigen
Project version: 3.4.0
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the build machine: c++ ld.bfd 2.38
Build targets in project: 0
Subproject eigen finished.

Dependency eigen3 from subproject subprojects/eigen-3.4.0 found: YES 3.4.0
Program ispc found: NO
Library OpenCL found: YES
Run-time dependency opencl found: NO 
Using cached compile:
Cached command line:   

Code:
 
        #ifdef __has_include
         #if !__has_include("CL/opencl.h")
          #error "Header 'CL/opencl.h' could not be found"
         #endif
        #else
         #include <CL/opencl.h>
        #endif
Cached compiler stdout:
 
Cached compiler stderr:
 
Has header "CL/opencl.h" : YES (cached)
Library cublas found: NO
Library cudnn found: NO
Library cudart found: NO
Program nvcc /usr/local/cuda/bin/nvcc /opt/cuda/bin/nvcc found: NO
Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp_slhamri
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp_slhamri/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp_slhamri/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -framework Foundation 

Code:
 int main(void) { return 0; }
Compiler stdout:
 
Compiler stderr:
 c++: error: unrecognized command-line option '-framework'

Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp5tv83drm
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp5tv83drm/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp5tv83drm/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -framework Metal 

Code:
 int main(void) { return 0; }
Compiler stdout:
 
Compiler stderr:
 c++: error: unrecognized command-line option '-framework'

Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpelqu9zgt
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpelqu9zgt/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpelqu9zgt/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -framework MetalPerformanceShaders 

Code:
 int main(void) { return 0; }
Compiler stdout:
 
Compiler stderr:
 c++: error: unrecognized command-line option '-framework'

Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp9j4vjbn4
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp9j4vjbn4/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmp9j4vjbn4/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -framework MetalPerformanceShadersGraph 

Code:
 int main(void) { return 0; }
Compiler stdout:
 
Compiler stderr:
 c++: error: unrecognized command-line option '-framework'

Run-time dependency appleframeworks found: NO (tried framework)
Dependency zlib found: YES 1.2.11 (cached)
Running compile:
Working directory:  /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpadveqdq8
Command line:  c++ /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpadveqdq8/testfile.cpp -o /media/hailey/More/AI/mamba.py/lc0/build/release/meson-private/tmpadveqdq8/output.exe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--start-group -llibatomic -Wl,--end-group -Wl,--allow-shlib-undefined 

Code:
 int main(void) { return 0; }

Compiler stdout:
 
Compiler stderr:
 /usr/bin/ld: cannot find -llibatomic: No such file or directory
/usr/bin/ld: note to link with /usr/lib/gcc/x86_64-linux-gnu/11/libatomic.a use -l:libatomic.a or rename it to liblibatomic.a
collect2: error: ld returned 1 exit status

Library libatomic found: YES
Dependency gtest found: YES unknown (cached)
Adding test "ChessBoard"
Adding test "HashCat"
Adding test "PositionTest"
Adding test "OptionsParserTest"
Adding test "SyzygyTest"
Adding test "EncodePositionForNN"
Build targets in project: 8

lc0 undefined

  Subprojects
    eigen    : YES

  User defined options
    backend  : ninja
    buildtype: release
    prefix   : /usr/local

Found ninja-1.10.1 at /usr/bin/ninja