mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 08:55:37 +00:00
scripts to install Eigen headers properly
This commit is contained in:
parent
67d105663b
commit
c4751f20a3
4
.gitignore
vendored
4
.gitignore
vendored
@ -44,3 +44,7 @@ myconfig.sh
|
|||||||
latan/IOASCIILexer.cpp
|
latan/IOASCIILexer.cpp
|
||||||
latan/IOASCIIParser.cpp
|
latan/IOASCIIParser.cpp
|
||||||
latan/IOASCIIParser.hpp
|
latan/IOASCIIParser.hpp
|
||||||
|
|
||||||
|
# Eigen headers
|
||||||
|
latan/Eigen/*
|
||||||
|
latan/eigen_files.mk
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo "extracting Eigen headers..."
|
||||||
|
./update_eigen.sh eigen-eigen-*.tar.bz2
|
||||||
rm -rf .buildutils
|
rm -rf .buildutils
|
||||||
mkdir -p .buildutils/m4
|
mkdir -p .buildutils/m4
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
|
BIN
eigen-eigen-ffa86ffb5570.tar.bz2
Normal file
BIN
eigen-eigen-ffa86ffb5570.tar.bz2
Normal file
Binary file not shown.
@ -17,6 +17,9 @@ endif
|
|||||||
AM_LFLAGS = -olex.yy.c
|
AM_LFLAGS = -olex.yy.c
|
||||||
AM_YFLAGS = -d
|
AM_YFLAGS = -d
|
||||||
|
|
||||||
|
include eigen_files.mk
|
||||||
|
nobase_dist_pkginclude_HEADERS = $(eigen_files)
|
||||||
|
|
||||||
BUILT_SOURCES = IOASCIIParser.hpp
|
BUILT_SOURCES = IOASCIIParser.hpp
|
||||||
|
|
||||||
lib_LTLIBRARIES = liblatan.la
|
lib_LTLIBRARIES = liblatan.la
|
||||||
@ -32,7 +35,7 @@ liblatan_la_SOURCES = \
|
|||||||
Mat.cpp \
|
Mat.cpp \
|
||||||
Sample.cpp \
|
Sample.cpp \
|
||||||
../config.h
|
../config.h
|
||||||
liblatan_ladir = $(includedir)/latan
|
liblatan_ladir = $(pkgincludedir)
|
||||||
liblatan_la_HEADERS = \
|
liblatan_la_HEADERS = \
|
||||||
Global.hpp \
|
Global.hpp \
|
||||||
IO.hpp \
|
IO.hpp \
|
||||||
|
@ -6,10 +6,13 @@ fi
|
|||||||
ARC=$1
|
ARC=$1
|
||||||
|
|
||||||
INITDIR=`pwd`
|
INITDIR=`pwd`
|
||||||
|
rm -rf latan/Eigen
|
||||||
ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'`
|
ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'`
|
||||||
tar -xf ${ARC}
|
tar -xf ${ARC}
|
||||||
cd ${ARCDIR}
|
cd ${ARCDIR}
|
||||||
rm -rf latan/Eigen
|
tar -cf - Eigen --exclude='*.txt' | tar -xf - -C ../latan/
|
||||||
tar -cf - Eigen --exclude='*.txt' | tar -xvf - -C ../latan/
|
cd ../latan
|
||||||
|
echo 'eigen_files =\' > eigen_files.mk
|
||||||
|
find Eigen -type f -print | sed 's/^/ /;$q;s/$/ \\/' >> eigen_files.mk
|
||||||
cd ${INITDIR}
|
cd ${INITDIR}
|
||||||
rm -rf ${ARCDIR}
|
rm -rf ${ARCDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user