-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[meta] Move SSE/SSE2 enablement out of cross files
Fixes Proton build, which uses an outdated Meson version. Signed-off-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7d67306
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is the old meson totally ignores the new [built-in options] for the c{pp}_args, is the same happening for the link args?
Does meson 0.56 actually ignore them set as [properties] ? If not it might be worth reverting 77af102 until more folk have moved over to 0.56 which was released on 30th October
7d67306
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FireBurn
Use generic cross-files, e.g. meson-cross-files-wine.zip
How to use them in Gentoo (ebuild):
Multiple cross-files supported in recent meson versions, so add some more
--cross-file=
if you wish.Note,
-Dc_args=...
like options will override cross-file's c_args.For regular users: unpack files from
dev-util/meson-cross-files-wine/files/
directory into~/.local/share/meson/
use them e.g.:
meson builddir --buildtype "release" --cross-file x86.mingw32 --cross-file mingw32.flags.meson-0.55
Should work for most mingw32 projects (I guess, have no mingw to test this).
Feel free to add your own cross-file variants otherwise.
7d67306
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. would DXVK even work without ['-static', '-static-libgcc', '-static-libstdc++'] ?
If not... Could it just be declared with
add_global_link_arguments('-static', '-static-libgcc', language: 'c')
add_global_link_arguments('-static', '-static-libgcc', '-static-libstdc++', language: 'cpp')
in the meson.build file, since this does not change regardless of build type (i guess)?
That way, kinda remove the whole [built-in options] statement from the cross-files.
Then again, there should be no problem making meson >= 0.56 a hard requirement, the same as mingw-w64 >= 8.0 is imo.