Skip to content

Releases: macchrome/compilers

LLVM/clang COFF/ELF Polly Patch

09 Feb 08:57
32e8932

Choose a tag to compare

Enables link-time polly optimisation.

Patch derived from: 11.0.0-llvm-project-546f8f426463c7c22a3a8731803a501ff044ba20

-DLLVM_POLLY_LINK_INTO_TOOLS=ON
-DCMAKE_POSITION_INDEPENDENT_CODE=ON

llvm.lld.polly.patch
SHA1 74837E70E6F94D8EED67CFB824DC4463D9F2AD02

Windows 64 bit LLVM\Clang 8.0.0 (trunk 350062)

03 Jan 15:35
32e8932

Choose a tag to compare

Thursday, 03 December 2019

Four stage bootstrapped compiler, initially based on Mingw-w64 to create an instrumented LLVM, fed back into Mingw-w64 to create a (handcrafted) PGO LLVM, which is then bootstrapped to create a "pure" LLVM/clang.

  • Mingw-w64 x86_64-8.1.0-release-posix-seh-rt_v6-rev0

  • clang version 8.0.0 (trunk 350062)
    Target: x86_64-pc-windows-msvc
    Thread model: posix

clang.mingw-w64.compiler-E3-1270.7z
SHA1 BBDC8A46BFCF6B71FB3AF66DD3469D6143F74322

Will pick up "fatal error: 'components/safe_browsing/proto/csd.pb.h' file not found -" when compiling Chromium 71.0.3578.98: just rebuild until the error goes away.

Opencore-esxi-legacy-cpu

04 Jan 09:42
32e8932

Choose a tag to compare

Opencore for ESXi 7 legacy CPUs

ESImage profile: ESXi-7.0U3f-20036589-standard (VMware, Inc.)

Manufacturer
HP
Model
ProLiant DL380 G7
CPU
Logical processors
24
Processor type
Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (Westmere no AVX nevermind AVX2!)
Sockets
2
Cores per socket
6
Hyperthreading
Yes, enabled
Memory
103.99 GB

NB: USB controller 1 must be of type USB3.1 (USB 1.1 is deprecated under macOS Ventura)

Procedure is quite simple:

  • Attached a working VMWare workstation - IPSW OS.dmg used - Ventura macOS 13.1-22C65 VM (vmdk) to an existing Monterey ESXi VM (spoofed to iMac17,1 for compatibility with OpenCore Legacy Patcher)

  • https://github.com/dortania/OpenCore-Legacy-Patcher/archive/refs/heads/main.zip

  • Satisfy build requirements: eg: pip3 install requests ...

  • Execute: OpenCore-Patcher.command

  • Create EFI

  • Copy created EFI to EFI partition

  • Made sure that it was possible to boot Monterey from opencore.efi; then with addition of NoAVXFSCompressionTypeZlib-AVXpel.kext and CryptexFixup.kext was able to boot macOS Ventura.

  • iMac18,3 profile used in VMX: basic requirement for macOS Ventura

Opencore-esxi-legacy-cpu-rev2.7z
https://github.com/macchrome/compilers/releases/download/Opencore-esxi-legacy-cpu-0.01/Opencore-esxi-legacy-cpu-rev2.7z
SHA1: 275A87F70178327BA0EE5FEF14AAA646BCD4C8D4

Generic OpenCore macOS installer - ESXi 7 & VMW 17

  1. Create macOS VM - Hard disk at least 40Gb (USB 3.1 required)

  2. Add second hard disk: OC.ESXi.vmdk (ESXi 7 requires this to be an IDE Controller - ESP created under Windows! OR
    vmkfstools -i OC.ESXi.vmdk -d zeroedthick OC-2.ESXi.vmdk for SATA compatibility)

  3. Add virtual macOS Monterey/Ventura installer iso

  4. If installing Ventura add the following to .vmx, make sure there are no duplicate entries.

smc.present = "TRUE"
smc.version = "0"
board-id.reflectHost = "FALSE"
board-id = "Mac-BE088AF8C5EB4FA2"
hw.model.reflectHost = "FALSE"
hw.model = "iMac18,3"

  1. Boot into VM EFI bios, boot from file: OC.ESXi.vmdk\OC.ESXi-f001.vmdk\EFI\OC\OpenCore.efi (locate it!)

  2. Boot installer iso from OpenCore GUI

  3. Install macOS

OC.ESXi.vmdk.7z
https://github.com/macchrome/compilers/releases/download/Opencore-esxi-legacy-cpu-0.01/OC.ESXi.vmdk.7z
SHA1 91B7E7F36CF784211A19E3C01B42097F74E82EF7

OC.ESXi.vmdk-rev2.7z - incorporates HfsPluslegacy
https://github.com/macchrome/compilers/releases/download/Opencore-esxi-legacy-cpu-0.01/OC.ESXi.vmdk-rev2.7z
SHA1 FF69159C4191F210C203C543FD0B59AA68F1EE81

El Torito (UEFI only) Bootable OpenCore ISO image

OC.ESXi-ISO.7z
https://github.com/macchrome/compilers/releases/download/Opencore-esxi-legacy-cpu-0.01/OC.ESXi-ISO.7z
SHA1 3E2E07EF33B949FE8D62254E6F8A3F914D52D8D7