Skip to content

Commit 50a59aa

Browse files
rikkimaxthewilsonator
authored andcommitted
Bump OSX from 12 to 13
1 parent 2713e4e commit 50a59aa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build_release_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
include:
127127
- os: ubuntu-20.04
128128
target: linux
129-
- os: macos-12
129+
- os: macos-13
130130
target: osx
131131
- os: windows-2019
132132
target: windows

create_dmd_release/create_dmd_release.d

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,19 @@ void buildAll(Bits bits, string branch)
340340
const jobs = " -j4";
341341
const dmdEnv = ` "DMD=`~cloneDir~`/dmd/generated/`~osDirName~`/release/`~bitsStr~`/dmd`~exe~`"`;
342342
const isRelease = " ENABLE_RELEASE=1";
343-
//Enable lto for everything except FreeBSD - the generated dmd segfaults immediatly.
343+
344+
// Enable lto for everything except FreeBSD - the generated dmd segfaults immediatly.
345+
// OSX is disabled "temporarily" due to https://github.com/dlang/installer/actions/runs/12156929210/job/33901843249?pr=588#step:6:660
346+
// wherein OSX with LTO timeTraceProfiler a TLS variable gets put into LTO layout which asserts out in ldc.
344347
version (FreeBSD)
345348
const ltoOption = " ENABLE_LTO=0";
346349
else version (linux)
347350
const ltoOption = " ENABLE_LTO=" ~ (is32 ? "0" : "1");
351+
else version(OSX)
352+
const ltoOption = " ENABLE_LTO=0";
348353
else
349354
const ltoOption = " ENABLE_LTO=1";
355+
350356
const latest = " LATEST="~branch;
351357
// PIC libraries on amd64 for PIE-by-default distributions, see Bugzilla 16794
352358
version (linux)

0 commit comments

Comments
 (0)