Skip to content

Commit

Permalink
Support for older GLIBC versions (#353)
Browse files Browse the repository at this point in the history
* update

* update
  • Loading branch information
rusty1s authored Nov 9, 2023
1 parent 7d22892 commit 05b62b1
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 05b62b1

Please sign in to comment.