[PATCH] D145883: [Flang][RISCV] Emit target features for RISC-V

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 16 02:11:05 PDT 2023


awarzynski added inline comments.


================
Comment at: flang/test/Driver/code-gen-rv64.f90:1
+! Test -emit-obj (RISC-V 64)
+
----------------
mamrami wrote:
> Hi :)
> It seems like the test fails: https://buildkite.com/llvm-project/premerge-checks/builds/141302#0186e55e-199e-401d-ab9f-9f3d47ec87af
> I see it in my non related patch https://reviews.llvm.org/D146132
Sorry about that :(

```
 line 3: llvm-readelf: command not found
```

There are 3 options:
* revert
* add `llvm-readelf` here https://github.com/llvm/llvm-project/blob/main/flang/test/CMakeLists.txt#L61
* updated the test to use `llvm-objdump` instead

HTH.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145883/new/

https://reviews.llvm.org/D145883



More information about the cfe-commits mailing list