← Back to team overview

kicad-developers team mailing list archive

Re: OCE vs. OCC default build flag

 

IMHO we should be fine with defaulting to OCC by now. Previously there were
issues with the occ build in msys2 where kicad would not link to it
properly, but we have since started to support msvc instead and we are
using occ for those builds for master.

Also, I think we are using occ on macos now, according to a comment on
zulip:
> Michael Kavanagh: @Wayne Stambaugh macOS has been packaged with OCC for a
while now (hence my build comment on the issue)

> Michael Kavanagh:
https://gitlab.com/kicad/packaging/kicad-mac-builder/-/commit/e9d69381b957670f4447e21c07228243ca4ee3db

There was a bit back and forth going on there for macos...

Nick

On Mon, 17 May 2021 at 16:57, Eeli Kaikkonen <eeli.kaikkonen@xxxxxxxxx>
wrote:

> On Mon, May 17, 2021 at 5:14 PM Carsten Schoenert
> <c.schoenert@xxxxxxxxxxx> wrote:
>
> > I'm using mostly the explicit set up of build options and do not rely on
> > used default values, so the Debian packages using OCC for more than a
> > year. And this also for backported versions.
>
> I was unsure about Debian because I didn't document my failure to
> build KiCad (with phoenix) on it. For other distros, I'm 100% sure
> about Ubuntu (and Kubuntu), Mint, Fedora, Arch and Manjaro, the latest
> release versions of those distros. Also openSUSE Tumbleweed (the
> rolling release). None of them drew OCE as a dependency for the
> available KiCad 5.99 (or 5.1 if 5.99 wasn't available) package, they
> all use OCC.
>
> This covers all of the supported distros. Also all of the distros in
> the Download page except gentoo. Flatpak seems to use explicit cmake
> flags and also dowloads and compiles the used OCC/OCE version
> explicitly, so it's not affected.
>
> > I've configured the build of the current 5.99 version for experimental
> > since a few weeks, and wxpython 4.0 is used here also like done for the
> > current stable version since a long time. Or I miss your point.
>
> I already forgot the details, but it was Buster for which I couldn't
> install the build dependencies which would make it possible to compile
> 5.99 with wxPhoenix. There was something strange about it. But that's
> offtopic.
>
> Eeli Kaikkonen
>
> _______________________________________________
> 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
>

References