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
When I take it out, the build starts, but fails at some missing Python wheels:
Building final compiler.
[E2025-02-14T08:40:29.409888+01:00 196214 0 builder.go:223]
Errors:
failed to resolve infra/python/wheels/h5py/linux-arm64_cp38_cp38@version:3.11.0 (line 13): no such tag
failed to resolve infra/python/wheels/libclang/linux-arm64_cp38_cp38@version:18.1.1 (line 18): no such tag
failed to resolve infra/python/wheels/ml_dtypes/linux-arm64_cp38_cp38@version:0.2.0 (line 21): no such package: infra/python/wheels/ml_dtypes/linux-arm64_cp38_cp38
failed to resolve infra/python/wheels/numpy/linux-arm64_cp38_cp38@version:1.22.1 (line 22): no such tag
failed to resolve infra/python/wheels/scipy/linux-arm64_cp38_cp38@version:1.10.1 (line 32): no such tag
failed to resolve infra/python/wheels/tensorflow-io-gcs-filesystem/linux-arm64_cp38_cp38@version:0.34.0 (line 38): no such tag
failed to resolve infra/python/wheels/tensorflow/linux-arm64_cp38_cp38@version:2.12.0 (line 39): no such tag
failed to resolve infra/python/wheels/wrapt/linux-arm64_cp38_cp38@version:1.14.1 (line 45): no such tag
2025/02/14 08:40:29 exit status 1
failed to generate venv derivation: failed to build package: wheels+7gi17i3vnd5hmhqsb007h09uj8: failed to execute builder: exit status 1
Traceback (most recent call last):
File "/home/dennis/repos/v8/v8/./tools/clang/scripts/build.py", line 1596, in <module>
sys.exit(main())
File "/home/dennis/repos/v8/v8/./tools/clang/scripts/build.py", line 1439, in main
tf_path = subprocess.check_output(
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['vpython3', '/home/dennis/repos/v8/v8/tools/clang/scripts/get_tensorflow.py']' returned non-zero exit status 1.
-- timers --
checkout llvm: 7.0
get sysroots: 0.0
libxml2 build: 47.3
zstd build: 29.4
get tensorflow: 1.7
Your website has a page with instructions for compiling on Arm64 Linux: https://v8.dev/docs/compile-arm64.
However, I'm stuck at the "Compiling Clang" section on Ubuntu 22.04 arm64.
First of all, the build command seems to be outdated. The
--gcc-toolchain
argument seems to be no longer supported on this build command:When I take it out, the build starts, but fails at some missing Python wheels:
build-log.txt
Do you have any guidance as to how I could get things to compile correctly? Happy to contribute wherever needed.
The text was updated successfully, but these errors were encountered: