[flang-commits] [clang] [flang] [Flang][Driver] Add per-target search path for modules (PR #196558)

Paul Osmialowski via flang-commits flang-commits at lists.llvm.org
Tue May 19 05:38:29 PDT 2026


pawosm-arm wrote:

One of the test cases causes the following regression on anything non-x86:

```
12:14:56  # note: command had no output on stdout or stderr
12:14:56  # RUN: at line 12
12:14:56  /workspace/build/stage/product_build/bin/flang -fsyntax-only --target=x86_64-unknown-linux-gnu -resource-dir /workspace/src/flang/test/Driver/Inputs/resource_dir_with_per_target_subdir /workspace/src/flang/test/Driver/intrinsic-module-path_per_target.f90 -cpp -DINTRINSICS_DEFAULT
12:14:56  # executed command: /workspace/build/stage/product_build/bin/flang -fsyntax-only --target=x86_64-unknown-linux-gnu -resource-dir /workspace/src/flang/test/Driver/Inputs/resource_dir_with_per_target_subdir /workspace/src/flang/test/Driver/intrinsic-module-path_per_target.f90 -cpp -DINTRINSICS_DEFAULT
12:14:56  # .---command stderr------------
12:14:56  # | error: unable to create target: 'No available targets are compatible with triple "x86_64-unknown-linux-gnu"'
12:14:56  # `-----------------------------
12:14:56  # error: command failed with exit status: 1
```


https://github.com/llvm/llvm-project/pull/196558


More information about the flang-commits mailing list