[gtk-osx-users] Changing from modulesets-stable to modulesets and universal architecture questions




Hi all,

as per the instructions on https://wiki.gnome.org/Projects/GTK/OSX/Building I added moduleset="https://gitlab.gnome.org/GNOME/gtk-osx/blob/master/MODULESETS/gtk-osx.modules" to jhbuildrc-custom.
Along with that I have setup_sdk(target="10.11") and changed the paths of prefix and checkoutroot.
"jhbuild bootstrap-gtk-osx" works but when I run "jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3" I get this error:

Loading .env environment variables...
jhbuild build: failed to parse https://gitlab.gnome.org/GNOME/gtk-osx/blob/master/MODULESETS/gtk-osx.modules: not well-formed (invalid token): line 132, column 4

Am I doing it wrong or did it break at some point?

I'm also wondering what the correct setup_sdk() entry is for trying my hands at building both arches, x86_64 and arm64. And on top of that whether it is possible to use different targets depending on the arch? Perhaps through reading the architecture environment variable?
Something like this perhaps:
setup_sdk(architectures=["x86_64"]["arm64"]) <- here I don't know how to enter different arches
_arches = os.environ.get("ARCHITECTURES")
if _arches is arm64:
   setup_sdk(target="11.1")
if _arches is x86_64
   setup_sdk(target="10.11")

Thanks so much for this project! Through this I've been able to provide a macOS snapshot of our Exult Studio for about a year now (http://exult.info).

Cheers,
Dom


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]