rocm-arch / tensorflow-rocm

tensorflow-rocm AUR package
17 stars 12 forks source link

error: rocm/include/hipblaslt/hipblaslt.h: No such file #64

Open acxz opened 6 months ago

acxz commented 6 months ago
ERROR: /home/acxz/.cache/bazel/_bazel_acxz/28b3542862100bec410760fc0ffe86f5/external/local_xla/xla/stream_executor/rocm/BUILD:487:11: Compiling xla/stream_executor/rocm/hip_blas_utils.cc [for tool] failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command (from target @local_xla//xla/stream_executor/rocm:hip_blas_utils) external/local_config_rocm/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer ... (remaining 156 arguments skipped)
/home/acxz/.cache/bazel/_bazel_acxz/28b3542862100bec410760fc0ffe86f5/execroot/org_tensorflow/external/local_config_rocm/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc:23: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
In file included from external/local_xla/xla/stream_executor/rocm/hip_blas_utils.h:22,
                 from external/local_xla/xla/stream_executor/rocm/hip_blas_utils.cc:16:
external/local_xla/xla/stream_executor/rocm/hipblaslt_wrapper.h:24:10: fatal error: rocm/include/hipblaslt/hipblaslt.h: No such file or directory
   24 | #include "rocm/include/hipblaslt/hipblaslt.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
petronny commented 6 months ago

Adding hipblaslt to depends or makedepends should solve this.