Skip to content

Commit 601e7ce

Browse files
authored
Update casa.yml
1 parent 4a6fc9a commit 601e7ce

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/casa.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,17 @@ jobs:
6363
# git clone $REPO_URL -b $REPO_BRANCH --recursive casa
6464
# ln -sf /workdir/casa $GITHUB_WORKSPACE/casa
6565
# ls
66-
66+
67+
- name: Compile glibc
68+
run: |
69+
wget -q http://ftp.gnu.org/gnu/glibc/glibc-2.30.tar.bz2
70+
sudo mkdir /opt/glibc230
71+
tar xvfj glibc-2.30.tar.bz2
72+
mkdir build
73+
cd build
74+
../glibc-2.30/configure --prefix=/opt/glibc230 --enable-cet
75+
sudo make -j$(($(nproc) + 1))
76+
sudo make install
6777
6878
- name: Set enviroment for github-release
6979
run: |
@@ -98,7 +108,7 @@ jobs:
98108
v: true
99109
x: false
100110
race: false
101-
ldflags: -s -w -extldflags "-static"
111+
ldflags: -s -w -L /opt/glibc230/lib -extldflags "-static"
102112
buildmode: default
103113
#
104114
# - name: List Files

0 commit comments

Comments
 (0)