Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Cmake problems

Date2019-09-15 05:32
FromPete Goodeve
Subject[Csnd-dev] Cmake problems
AttachmentsNone  

Date2019-09-15 05:50
FromVictor Lazzarini
SubjectRe: [Csnd-dev] Cmake problems
Make sure that the atomic code is not being excluded outside linux, mach, windows etc where it is declared. If the token us being put in by CMake, then maybe there's some
hard coded exclusion going on.

Prof. Victor Lazzarini
Maynooth University
Ireland

> On 15 Sep 2019, at 05:33, Pete Goodeve  wrote:
> 
> Hi,
> Are there any Cmake experts around who can enlighten me?
> 
> I discovered that the Haiku build is not using the atomic built-ins.
> Not sure how important this is, but as they *do* exist in Haiku
> I'd rather have them enabled.  (And I have other problems that
> *might* be related.)
> 
> I see that the check is in cmake/CheckAtomic.cmake, and it
> apparently does it by seeing if the little source included
> actually compiles.
> 
> I extracted that piece of code, and it compiles fine (and runs,
> with the corrrect result)  but somehow cmake is not finding this.
> 
> Can anyone suggest where I might look for the problem?
> Obviously cmake is mostly OK, because overall the build is fine.
> (I tried '--trace-expand' but didn't see anything to help.)
> 
> Thanks,
> 
>    -- Pete --

Date2019-09-15 06:20
FromPete Goodeve
SubjectRe: [Csnd-dev] Cmake problems
AttachmentsNone  

Date2019-09-15 07:18
FromPete Goodeve
SubjectRe: [Csnd-dev] Cmake problems
AttachmentsNone  

Date2019-09-15 08:08
FromPete Goodeve
SubjectRe: [Csnd-dev] Cmake problems
AttachmentsNone