Skip to content

Commit

Permalink
Fixed github pages symlink problem
Browse files Browse the repository at this point in the history
  • Loading branch information
M4xi1m3 committed Jul 9, 2020
1 parent d7224a5 commit 2ff6fc7
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 14 deletions.
25 changes: 25 additions & 0 deletions apps/KhiCAS/buildDeps
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,36 @@ function build {

(
cd src/mpfi-1.5.4

# Quick and dirty hack for github pages to work
# Setup symlinks manually
mkdir build-aux
mkdir m4

ln -s /usr/share/libtool/build-aux/ltmain.sh build-aux/ltmain.sh
ln -s /usr/share/automake-1.16/missing build-aux/missing
ln -s /usr/share/automake-1.16/config.sub build-aux/config.sub
ln -s /usr/share/automake-1.16/compile build-aux/compile
ln -s /usr/share/automake-1.16/config.guess build-aux/config.guess
ln -s /usr/share/automake-1.16/test-driver build-aux/test-driver
ln -s /usr/share/automake-1.16/install-sh build-aux/install-sh
ln -s /usr/share/automake-1.16/ar-lib build-aux/ar-lib
ln -s /usr/share/automake-1.16/depcomp build-aux/depcomp
ln -s /usr/share/aclocal/ltoptions.m4 m4/ltoptions.m4
ln -s /usr/share/aclocal/ltsugar.m4 m4/ltsugar.m4
ln -s /usr/share/aclocal/libtool.m4 m4/libtool.m4
ln -s /usr/share/aclocal/lt~obsolete.m4 m4/lt~obsolete.m4
ln -s /usr/share/aclocal/ltversion.m4 m4/ltversion.m4


./configure --with-mpfr=$(pwd)/../ --with-gmp=$(pwd)/../ --host=arm-none-eabi CFLAGS="$2"
make -j $(nproc)
cp src/.libs/libmpfi.a ../lib/
cp src/mpfi.h ../include/mpfi.h
make distclean

rm -r build-aux
rm -r m4
)
}

Expand Down
1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/ar-lib

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/compile

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/config.guess

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/config.sub

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/depcomp

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/install-sh

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/ltmain.sh

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/missing

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/build-aux/test-driver

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/m4/libtool.m4

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/m4/ltoptions.m4

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/m4/ltsugar.m4

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/m4/ltversion.m4

This file was deleted.

1 change: 0 additions & 1 deletion apps/KhiCAS/src/mpfi-1.5.4/m4/lt~obsolete.m4

This file was deleted.

0 comments on commit 2ff6fc7

Please sign in to comment.