mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +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/IOASCIIParser.cpp
|
||||
latan/IOASCIIParser.hpp
|
||||
|
||||
# Eigen headers
|
||||
latan/Eigen/*
|
||||
latan/eigen_files.mk
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "extracting Eigen headers..."
|
||||
./update_eigen.sh eigen-eigen-*.tar.bz2
|
||||
rm -rf .buildutils
|
||||
mkdir -p .buildutils/m4
|
||||
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_YFLAGS = -d
|
||||
|
||||
include eigen_files.mk
|
||||
nobase_dist_pkginclude_HEADERS = $(eigen_files)
|
||||
|
||||
BUILT_SOURCES = IOASCIIParser.hpp
|
||||
|
||||
lib_LTLIBRARIES = liblatan.la
|
||||
@ -32,7 +35,7 @@ liblatan_la_SOURCES = \
|
||||
Mat.cpp \
|
||||
Sample.cpp \
|
||||
../config.h
|
||||
liblatan_ladir = $(includedir)/latan
|
||||
liblatan_ladir = $(pkgincludedir)
|
||||
liblatan_la_HEADERS = \
|
||||
Global.hpp \
|
||||
IO.hpp \
|
||||
|
@ -6,10 +6,13 @@ fi
|
||||
ARC=$1
|
||||
|
||||
INITDIR=`pwd`
|
||||
rm -rf latan/Eigen
|
||||
ARCDIR=`tar -tf ${ARC} | head -n1 | sed -e 's@/.*@@'`
|
||||
tar -xf ${ARC}
|
||||
cd ${ARCDIR}
|
||||
rm -rf latan/Eigen
|
||||
tar -cf - Eigen --exclude='*.txt' | tar -xvf - -C ../latan/
|
||||
tar -cf - Eigen --exclude='*.txt' | tar -xf - -C ../latan/
|
||||
cd ../latan
|
||||
echo 'eigen_files =\' > eigen_files.mk
|
||||
find Eigen -type f -print | sed 's/^/ /;$q;s/$/ \\/' >> eigen_files.mk
|
||||
cd ${INITDIR}
|
||||
rm -rf ${ARCDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user