[flang-commits] [flang] [flang] Fix flang tests on MacOS (PR #70811)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Wed Nov 8 01:04:49 PST 2023


================
@@ -7,7 +7,8 @@
 ! As `flang` does not implement `-fc1as` (i.e. a driver for the integrated
 ! assembler), we need to use `-fno-integrated-as` here.
 
-! UNSUPPORTED: system-windows
+! This test fails on MacOS with the error "can't specifiy -Q with -arch arm64"
+! UNSUPPORTED: system-windows, system-darwin
----------------
banach-space wrote:

OK, this makes much more sense now, thanks! 

I would actually add a note that calling an external assembler fails, and, IIUC ("if we understand correctly" :) ), it's just unavailable on `arm64`. Basically, I think it's worth mentioning the rationale for the claim that's being made:
> -fno-integrated-as isn't supported on arm64 Macs

I am not expecting you to dig into this any further - I'm just asking for some extra clue in the comment for anyone who might want to investigate this :) 

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


More information about the flang-commits mailing list