← Back to team overview

kicad-developers team mailing list archive

Re: macOS & New Zone Filling?

 

Tom-

I can confirm that this fixes the issue for me on MacOS 10.13

-S

On Sat, Dec 9, 2017 at 1:56 AM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:

> A bug was also reported on this at:
> https://bugs.launchpad.net/kicad/+bug/1737277
>
> 2017-12-09 3:56 GMT+01:00 Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>:
>
>> On 09/12/17 01:33, Bernhard Stegmaier wrote:
>> > Some sites say that.
>> > I tried to manually compile a test program from one of those, but my
>> > clang doesn’t even recognise -fopenmp.
>> > The other thing mentioned is clang-omp, but that seems not to be
>> > maintained any longer.
>> > Didn’t try further…
>>
>> Hi Bernhard,
>>
>> Could you try this:
>>
>> in zone_filler.cpp, after lines 92-93:
>>
>> void ZONE_FILLER::Fill( std::vector<ZONE_CONTAINER*> aZones )
>>         {
>>
>> put:
>>         m_progressReporter = nullptr;
>>
>> recompile and try filling zones to check if it still freezes.
>>
>> Tom
>>
>> >
>> >
>> > Regards,
>> > Bernhard
>> >
>> >> On 8. Dec 2017, at 16:50, Simon Wells <swel024@xxxxxxxxx
>> >> <mailto:swel024@xxxxxxxxx>> wrote:
>> >>
>> >> I thought it did if you can find the right lib as it was only the lib
>> >> that was missing?
>> >>
>> >>> On 9/12/2017, at 3:48 AM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx
>> >>> <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:
>> >>>
>> >>> … I looked around a bit and from that it seems to be pretty sure that
>> >>> stock Xcode Apple clang (which I use) doesn’t support OpenMP.
>> >>>
>> >>>
>> >>> Regards,
>> >>> Bernhard
>> >>>
>> >>>> On 8. Dec 2017, at 14:05, Bernhard Stegmaier
>> >>>> <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:
>> >>>>
>> >>>> Hi Tom,
>> >>>>
>> >>>>> On 8. Dec 2017, at 13:59, Tomasz Wlostowski
>> >>>>> <tomasz.wlostowski@xxxxxxx <mailto:tomasz.wlostowski@xxxxxxx>>
>> wrote:
>> >>>>>
>> >>>>> Wonderful.
>> >>>>>
>> >>>>> I thought a workaround for Windows OpenMP/wxWidgets support will be
>> >>>>> sufficient. Time to get a macbook...
>> >>>>>
>> >>>>> Bernard, could you try building kicad with OpenMP disabled?
>> >>>>
>> >>>> Hmm… how do I do this?
>> >>>>
>> >>>> I get from cmake
>> >>>> <<<
>> >>>> …
>> >>>> -- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE
>> >>>> -- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE - Failed
>> >>>> -- Performing Test COMPILER_SUPPORTS_WSHADOW
>> >>>> -- Performing Test COMPILER_SUPPORTS_WSHADOW - Success
>> >>>> -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS
>> >>>> OpenMP_C_LIB_NAMES) (found version "1.0")
>> >>>> -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS
>> >>>> OpenMP_CXX_LIB_NAMES) (found version "1.0")
>> >>>> -- Found wxWidgets:
>> >>>> -L/Volumes/OSXData/bstegmaier/KiCad/wx-master/lib;;;-framework
>> >>>> IOKit;-framework Carbon;-framework Co
>> >>>> …
>> >>>> >>>
>> >>>>
>> >>>> So I always thought it doesn’t use OpenMP?
>> >>>>
>> >>>>
>> >>>> Regards,
>> >>>> Bernhard
>> >>>>
>> >>>> _______________________________________________
>> >>>> Mailing list: https://launchpad.net/~kicad-developers
>> >>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> >>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> >>>> Unsubscribe : https://launchpad.net/~kicad-developers
>> >>>> More help   : https://help.launchpad.net/ListHelp
>> >>>
>> >>> _______________________________________________
>> >>> Mailing list: https://launchpad.net/~kicad-developers
>> >>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> >>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> >>> Unsubscribe : https://launchpad.net/~kicad-developers
>> >>> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References