Skip to content

Commit c3d8c86

Browse files
Update ci.yml
1 parent 427a041 commit c3d8c86

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,24 +400,25 @@ jobs:
400400
401401
export V=1
402402
403-
# Prevent idle timeout
403+
# Heartbeat to prevent timeout
404404
( while true; do echo "❤️ still building mac depends…"; sleep 60; done ) &
405405
406-
echo "▶ Creating fake clang wrappers (clang -> gcc, clang++ -> g++)…"
406+
echo "▶ Creating fake clang wrappers (clang -> Darwin clang)…"
407407
mkdir -p fakeclang
408408
409409
cat <<'EOF' > fakeclang/clang
410410
#!/bin/bash
411-
exec gcc "$@"
411+
exec x86_64-apple-darwin11-clang "$@"
412412
EOF
413413
414414
cat <<'EOF' > fakeclang/clang++
415415
#!/bin/bash
416-
exec g++ "$@"
416+
exec x86_64-apple-darwin11-clang++ "$@"
417417
EOF
418418
419419
chmod +x fakeclang/clang fakeclang/clang++
420420
421+
# Place fake clang first in PATH so OpenSSL uses it
421422
export PATH="$(pwd)/fakeclang:$PATH"
422423
423424
echo "▶ PATH now using fake clang: $PATH"

0 commit comments

Comments
 (0)