Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseTools: Provide fat Mach-O binaries on Darwin #63

Merged
merged 3 commits into from
Mar 31, 2024

Conversation

vit9696
Copy link
Collaborator

@vit9696 vit9696 commented Mar 27, 2024

Comment on lines 132 to 134
CFLAGS += -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
CPPFLAGS += -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
LDFLAGS += -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
EXTRA_LDFLAGS += -arch x86_64 -arch arm64 -mmacosx-version-min=10.13
Copy link
Contributor

@mikebeaton mikebeaton Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be (marginally) nicer to still align all the +=?

@mikebeaton
Copy link
Contributor

mikebeaton commented Mar 27, 2024

Oh yes, sorry, it really doesn't affect the code at all but I will stick to my story that they are not called 'FAT binary' but 'fat binary' or maybe 'fat-binary' or 'Fat binary' (incl. in Apple usage). (Fat doesn't stand for anything and isn't an acronym, it just means ... fat; hence naming of lipo tool, ofc!).

@vit9696
Copy link
Collaborator Author

vit9696 commented Mar 31, 2024

Should be done, @mikebeaton, could you merge if it feels good enough after CI?

@vit9696 vit9696 changed the title BaseTools: Enable FAT binary support on Darwin BaseTools: Provide fat Mach-O binaries on Darwin Mar 31, 2024
@mikebeaton mikebeaton merged commit ffdc2e1 into master Mar 31, 2024
60 checks passed
mikebeaton pushed a commit that referenced this pull request Mar 31, 2024
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
mikebeaton pushed a commit to mikebeaton/audk that referenced this pull request Apr 16, 2024
Azure should install code coverage tool (lcov), it didn't
exist on Fedora and Ubuntu by default.

Update docker setting, pick below solution between 47addc9 and 3b3eb8f
3b3eb8f Fixes and improvements to dev containers (acidanthera#69)
54e5bd1 Enable GTK on Fedora QEMU (acidanthera#63)
f1c7a20 Fedora: install code coverage tools for GCC (acidanthera#62)
2ce82af Ubuntu-22: Add initial Ubuntu-22 image (acidanthera#61)
14d2aba Add Fedora 37 image with gcc12 (acidanthera#60)
5b8a008 Add dotnet runtime to fedora build (acidanthera#57)
f5c874a Fix platform build file name for EDK2 change (acidanthera#58)
48540ad Ubuntu-20: Fix dev image entrypoint (acidanthera#55)
98e849d Fedora-35: Add Powershell to build image (acidanthera#52)

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Oliver Steffen <osteffen@redhat.com>
Cc: Chris Fernald <chfernal@microsoft.com>
Signed-off-by: Gua Guo <gua.guo@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com>
Reviewed-by: Chris Fernald <chfernal@microsoft.com>
MikhailKrichanov pushed a commit that referenced this pull request Jun 27, 2024
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
MikhailKrichanov pushed a commit that referenced this pull request Jul 1, 2024
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
MikhailKrichanov pushed a commit that referenced this pull request Jul 1, 2024
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
MikhailKrichanov pushed a commit that referenced this pull request Jul 18, 2024
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
MikhailKrichanov pushed a commit that referenced this pull request Jul 22, 2024
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants