[RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jan 23 06:55:13 UTC 2024


----- Am 22. Jan 2024 um 22:56 schrieb Chris Johns chrisj at rtems.org:

> On 22/1/2024 6:18 pm, Sebastian Huber wrote:
>> On 22.01.24 00:47, Chris Johns wrote:
>>> On 22/1/2024 3:42 am, Sebastian Huber wrote:
>>>> Does XCode ship a Symbolize.h and llvm-config?
>>>
>>> No ...
>>>
>>> % uname -a
>>> Darwin weka.contemporary.net.au 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15
>>> 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020 arm64
>>> % c++ -v
>>> Apple clang version 15.0.0 (clang-1500.1.0.2.5)
>>> Target: arm64-apple-darwin23.2.0
>>> Thread model: posix
>>> InstalledDir:
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>>> % type llvm-config
>>> llvm-config not found
>>> % find
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
>>> -name Symbolize.h
>>> %
>> 
>> Ok, thanks for checking. It seems that using the LLVM from brew is then the
>> right approach.
> 
> I have stated for years now we will not depend on brew or macports for building
> RTEMS tools. Those distro packagers are rolling releases. Also what about
> MacPorts?
> 
> FYI when I first moved to Macs and I starting building native tools with
> macports then brew and gave up. At the time our tool versions exposed issues in
> their tools and updates broke working things and exposed new issues till the
> point I found myself attempting to fix issue is those distros. Xcode tools just
> worked and have done so for 20+ years.

What I meant with right approach is that using the brew provided LLVM for a Github job is the right approach to test to RTEMS Tools build with LLVM. You can of course build the RTEMS Tools with XCode only.

> 
>> 
>> Can I check in the patch now?
>> 
> 
> If the changes does not build for me without brew or macports then I am a no.

The usage of LLVM for the RTEMS Tools is optional. You can build them without LLVM. However, this patch is relevant to a host which has LLVM installed. So, to test this patch you need an LLVM installation.

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list