Open adamjstewart opened 1 year ago
Hi @adamjstewart
Also M1 Mac is belong to Arm arch, but it doesn't support SVE instruction set.
Maybe you should disable sve
from some flag like -march=armv8-a+sve
when you compile TensorFlow with Clang?
The error reported above is for Linux, not for M1.
I just tried this on an a different ARM machine and could not see a failure, is it still an issue?
Did you try LLVM 14 or newer LLVM? TensorFlow still requires LLVM 14 so unfortunately I can't rely on newer versions.
I did:
spack install llvm@14.0.6
and it worked.
FWIW
n.a.romero@sal-amperehn01:~$ spack arch
linux-rocky8-neoverse_n1
Let me try #34300 again and see if I can reproduce the issue.
Okay, let's see if we still get the same issue in https://github.com/spack/spack/pull/39666. It's a newer aarch64 image so it may no longer be an issue.
Yep, still seeing the same error: https://gitlab.spack.io/spack/spack/-/jobs/8086790
We used to print instructions to reproduce the build failure using docker, @kwryankrattiger do you know where to find these?
The instructions are still printed, however this jobs log got truncated. This is what you want to run
spack ci reproduce-build --autostart [--working-dir /path/to/reproduction/directory] https://gitlab.spack.io/api/v4/projects/2/jobs/8086790/artifacts
Steps to reproduce the issue
Trying to build TensorFlow in #34300. Newer versions depend on
py-libclang
, which depends onllvm+clang@14
. However, I see a build error withllvm@14.0.6
on aarch64.Error message
Information on your system
Additional information
spack-build-out.txt
@haampie @trws
General information
spack debug report
and reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>
and @mentioned any maintainers