[flang-commits] [flang] [flang] Build a dedicated fir-test-opt for testing (PR #123473)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Sun Jan 19 08:24:02 PST 2025


clementval wrote:

> Are you saying I should just make `fir-opt` entirely conditional to `FLANG_INCLUDE_TESTS` and stop installing it?

`FLANG_INCLUDE_TESTS` is related to unit tests so it's unrelated to the lit testing. What is the exact issue that you are seeing. There is no passes that depends on `FLANG_INCLUDE_TESTS`. 

Are you referring to:
```
if(FLANG_INCLUDE_TESTS)
  set(test_libs
    FIRTestAnalysis
    FIRTestOpenACCInterfaces
    MLIRTestIR
    )
endif()
```

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


More information about the flang-commits mailing list