shivaramaarao wrote:

> @shivaramaarao I'm seeing failure:
> 
> ```
> # | error: unable to create target: 'No available targets are compatible with 
> triple "x86_64-unknown-linux-gnu"'
> ```
> 
> when building only aarch64.
> 
> Perhaps something like this is needed:
> 
> ```
> -! RUN: %flang -flto=thin --target=x86_64-linux-gnu -fsplit-lto-unit -S -o - 
> %s | FileCheck %s --check-prefix=SPLIT1
> +! RUN: %if x86-registered-target %{ %flang -flto=thin 
> --target=x86_64-linux-gnu -fsplit-lto-unit -S -o - %s | FileCheck %s 
> --check-prefix=SPLIT1 %}
> ```

Hi Steve,

Apologies for that. Will create a PR to fix this issue. 

Regards,
Shivaram

https://github.com/llvm/llvm-project/pull/202858
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to