Raised This Month: $51 Target: $400
 12% 

Manually setting the compiler for AMBuild


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HBann
New Member
Join Date: Oct 2023
Old 10-06-2023 , 15:18   Manually setting the compiler for AMBuild
Reply With Quote #1

Hello, I am on Windows 11 and I have the MSVC compiler installed from VS 2022, but I want to compile with clang because, in the end I will compile on Ubuntu with clang and I don't need any build fails surprises or things like that. I have installed last version of LLVM (17) and I want to compile with clang but Detectcxx(target = "clang") doesn't work, what is the exact parameter?

How can I achieve this? Choosing the compiler and not automatically detecting and choosing the first compiler.

Thank you in advance.

Last edited by HBann; 10-06-2023 at 15:48.
HBann is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 10-06-2023 , 21:24   Re: Manually setting the compiler for AMBuild
Reply With Quote #2

Quote:
Originally Posted by HBann View Post
...
You can choose compiler at configuration step.

PHP Code:
CC=clang CXX=clang++ python ../configure.py 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode