Skip to content

Commit

Permalink
Merge pull request #1 from rusty1s/master
Browse files Browse the repository at this point in the history
Support for older `GLIBC` versions (rusty1s#353)
  • Loading branch information
yongbinfeng authored Dec 5, 2023
2 parents 3188ff2 + 05b62b1 commit 3f9d258
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/metis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ tar -xvzf "${METIS}.tar.gz"
rm -f "${METIS}.tar.gz"
cd "${METIS}" || exit
sed -i.bak -e 's/IDXTYPEWIDTH 32/IDXTYPEWIDTH 64/g' include/metis.h
sed -i '1s/^/#if defined(__linux__) \&\& defined(__x86_64__)\n__asm__(".symver log,log@GLIBC_2.2.5");\n#endif\n/' GKlib/gk_proto.h
sed -i '1s/^/#if defined(__linux__) \&\& defined(__x86_64__)\n__asm__(".symver pow,pow@GLIBC_2.2.5");\n#endif\n/' libmetis/metislib.h

make config
make
Expand Down

0 comments on commit 3f9d258

Please sign in to comment.