GNOME Bugzilla – Bug 792338
meson, autotools: figure out if mem barrier is needed for arm64 host variant aarch64
Last modified: 2018-05-24 20:08:00 UTC
arm64 can be reffered to as aarch64, and when it is glib can't build through meson without changing meson.build as aarch64 doesn't start with 'arm' Meson encountered an error in file meson.build, line 1267, column 2: Error encountered: Unknown host cpu: aarch64 In master it's on line 1288
Created attachment 366508 [details] [review] meson: change error() to warning() when checking if membarrier is needed If we don't know the exact architecture that's not fatal, might just be suboptimal, same as with autotools. -- We should probably figure out into which category aarch64 falls and then add that in both the autotools build and the meson build. The meson checks just mirror the autotools ones.
pushed the build fix, retitling for accounting properly for the arch.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1323.