Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit cf0f7f2

Browse files
committed
Add ugly symlink workaround until JuliaLang/julia#26314 is fixed
1 parent 1eb956e commit cf0f7f2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

master/coverage.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# Define everything needed to do per-commit coverage testing on Linux
33
###############################################################################
44

5+
symlink_fix_cmd = """
6+
# Ugly workaround until we fix https://github.com/JuliaLang/julia/issues/26314
7+
rm -rf ../package_linux64/build/usr/share
8+
mkdir -p ../package_linux64/build/usr/share
9+
ln -s ../../../../package_linux64/build/usr/share/julia julia-*/share/julia/
10+
"""
11+
512
run_coverage_cmd = """
613
using Pkg
714
Pkg.activate("CoverageBase")
@@ -73,6 +80,12 @@
7380
command=["/bin/sh", "-c", util.Interpolate("curl -L %(prop:download_url)s | tar zx")],
7481
),
7582

83+
# Ugly symlink fix until https://github.com/JuliaLang/julia/issues/26314 is fixed
84+
steps.ShellCommand(
85+
name="Ugly symlink workaround",
86+
command=["/bin/sh", "-c", symlink_fix_cmd],
87+
),
88+
7689
# Find Julia directory (so we don't have to know the shortcommit)
7790
steps.SetPropertyFromCommand(
7891
name="Find Julia executable",

0 commit comments

Comments
 (0)