Skip to content

Commit 25c4500

Browse files
committed
Fix CI build failure with Clang
1 parent f95e7eb commit 25c4500

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ jobs:
124124
python3-pytest python3-pytest-cov python3-flaky
125125
--no-install-recommends
126126
127+
- name: Fix Python LDSHARED
128+
run: |
129+
ld_args=$(python3 -c "import sysconfig; print(' '.join(sysconfig.get_config_var('LDSHARED').split()[1:]))")
130+
echo "LDSHARED='clang $ld_args'" >> $GITHUB_ENV
131+
127132
- name: Prepare Python env
128133
run: |
129134
python3 setup.py gen_reqfile --include-extras

0 commit comments

Comments
 (0)