From 2976f6f3476691671e4abc800db88dee0b1d8698 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 14:08:02 +0100 Subject: [PATCH 01/11] preparing for 3.2 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 38c1473..9191118 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Initialization AC_PREREQ([2.63]) -AC_INIT([LatAnalyze],[3.1.1-dev],[antonin.portelli@me.com],[LatAnalyze]) +AC_INIT([LatAnalyze],[3.2],[antonin.portelli@me.com],[LatAnalyze]) AC_CONFIG_AUX_DIR([.buildutils]) AC_CONFIG_SRCDIR([lib/Global.cpp]) AC_CONFIG_SRCDIR([utils/sample_read.cpp]) From 05ac1cc3adaee89c6282749985c49562878a97cb Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 17:31:47 +0100 Subject: [PATCH 02/11] Travis: fix for Linux clang builds --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 638670f..f051d34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ notifications: cache: directories: - ci-scripts/local + - ci-scripts/clang matrix: include: @@ -44,27 +45,24 @@ matrix: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.6 packages: - - clang-3.6 - libgsl0-dev - flex - bison - env: VERSION=-3.6 + env: CLANG_LINK=http://llvm.org/releases/3.6.0/clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz - compiler: clang addons: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.7 packages: - - clang-3.7 - libgsl0-dev - flex - bison - env: VERSION=-3.7 + env: CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz before_install: + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang* clang; cd clang; export PATH="`pwd`/bin:${PATH}"; cd -; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi From 16ea3e753a9ef6e8fda702e074949f568b4c228b Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 17:39:45 +0100 Subject: [PATCH 03/11] Travis fix --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f051d34..f864d88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,7 +62,9 @@ matrix: env: CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz before_install: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang* clang; cd clang; export PATH="`pwd`/bin:${PATH}"; cd -; fi + - cd ci-scripts + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang* clang; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="`pwd`/clang/bin:${PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi @@ -72,7 +74,6 @@ install: - export LATDIR=`pwd` - export CC=$CC$VERSION - export CXX=$CXX$VERSION - - cd ci-scripts - ./install-deps.sh `pwd`/local - cd .. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LD_LIBRARY_PATH=${LATDIR}/ci-scripts/local/lib:$LD_LIBRARY_PATH; fi From 3603d67d97103c9c24b82d8a8fd0c85cc6571b07 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 17:46:04 +0100 Subject: [PATCH 04/11] Travis fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f864d88..55822eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ matrix: before_install: - cd ci-scripts - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang* clang; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang* clang; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="`pwd`/clang/bin:${PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi From 3bff42b55408f3065d8d66a15a6117a555ae95b9 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 17:58:24 +0100 Subject: [PATCH 05/11] Travis fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 55822eb..342ab29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ matrix: before_install: - cd ci-scripts - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang* clang; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang+* clang; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="`pwd`/clang/bin:${PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi From 9631a2565f0855867b1897b8b9e7ba7596fe44a1 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 18:03:17 +0100 Subject: [PATCH 06/11] Travis fix --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 342ab29..7334b99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,18 +62,23 @@ matrix: env: CLANG_LINK=http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz before_install: + - export LATDIR=`pwd` - cd ci-scripts - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang+* clang; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="`pwd`/clang/bin:${PATH}"; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${LATDIR}/ci-scripts/clang/bin:${PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi install: - - export LATDIR=`pwd` - export CC=$CC$VERSION - export CXX=$CXX$VERSION + - echo $PATH + - which $CC + - $CC --version + - which $CXX + - $CXX --version - ./install-deps.sh `pwd`/local - cd .. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LD_LIBRARY_PATH=${LATDIR}/ci-scripts/local/lib:$LD_LIBRARY_PATH; fi From b6a96619d2d505372d369335192df4adef7d23e2 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 18:07:08 +0100 Subject: [PATCH 07/11] Travis debug --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7334b99..b8830bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,6 +72,7 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi install: + - ls /home/travis/build/aportelli/LatAnalyze/ci-scripts/clang/bin - export CC=$CC$VERSION - export CXX=$CXX$VERSION - echo $PATH From 6a37baaf2890e11b438add5e01ecda4a7072e90a Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 18:12:32 +0100 Subject: [PATCH 08/11] Travis debug --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b8830bc..9f5489e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,7 @@ matrix: before_install: - export LATDIR=`pwd` - cd ci-scripts - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang+* clang; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang+* clang; pwd; ls; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${LATDIR}/ci-scripts/clang/bin:${PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi From 761d68bc823f77c547a79994571326c34b0c561e Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 18:19:41 +0100 Subject: [PATCH 09/11] Travis debug --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9f5489e..15a66f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,7 @@ matrix: before_install: - export LATDIR=`pwd` - cd ci-scripts - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mv clang+* clang; pwd; ls; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mkdir clang; mv clang+*/* clang/; pwd; ls; ls clang; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${LATDIR}/ci-scripts/clang/bin:${PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi From 553181787fdcde3ce0918909deebedefce7bf68c Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 18:28:51 +0100 Subject: [PATCH 10/11] more Travis fix --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15a66f0..a7dcd36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,7 @@ matrix: sources: - ubuntu-toolchain-r-test packages: + - g++-4.8 - libgsl0-dev - flex - bison @@ -56,6 +57,7 @@ matrix: sources: - ubuntu-toolchain-r-test packages: + - g++-4.8 - libgsl0-dev - flex - bison @@ -64,15 +66,15 @@ matrix: before_install: - export LATDIR=`pwd` - cd ci-scripts - - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mkdir clang; mv clang+*/* clang/; pwd; ls; ls clang; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]] && [ ! -e clang/bin ]; then wget $CLANG_LINK; tar -xf `basename $CLANG_LINK`; mkdir clang; mv clang+*/* clang/; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export PATH="${LATDIR}/ci-scripts/clang/bin:${PATH}"; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "clang" ]]; then export LD_LIBRARY_PATH="${LATDIR}/ci-scripts/clang/lib:${LD_LIBRARY_PATH}"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bison flex; export PATH="/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH"; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]] && [[ "$CC" == "gcc" ]]; then brew install gcc5; fi install: - - ls /home/travis/build/aportelli/LatAnalyze/ci-scripts/clang/bin - export CC=$CC$VERSION - export CXX=$CXX$VERSION - echo $PATH From 77a585ac4ba4a2759e582d7527c529ca531ed90d Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 14 Jun 2016 18:55:51 +0100 Subject: [PATCH 11/11] Readme update --- Readme.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 8dbbdb0..397d877 100644 --- a/Readme.md +++ b/Readme.md @@ -55,11 +55,21 @@ in the `ci-scripts` directory where `` is where you want LatAnalyze (and For a more customised installation, one first needs to generate the build system by running `./bootstrap.sh` in the root directory. Then the library can be built and installed through the usual GNU mantra `./configure && make && make install`. Use `./configure --help` to obtain a list of possible options for `./configure`. Because Eigen expressions rely a lot on inlining and compiler optimisations it is strongly recommended to set the `CXXFLAGS` variable to `-O3 -march=native -mtune=native`. ## History +#### v3.2 (needs LatCore 1.1) +Additions: +* 2-pt function fitter `latan-2pt-fit` +* Tool to extract one element of a matrix sample `latan-sample-element` +* Band plotting + +Changes: +* Sample utilities renamed `latan-sample-*` +* Resample utility renamed `latan-resample` + #### v3.1.2 Fixes: * HDF5 archive URL update in build scripts -#### v3.1.1 +#### v3.1.1 (needs LatCore 1.0) Fixes: * Minuit precision fixed * Minor fit interface fixes