Changeset 2966


Ignore:
Timestamp:
Apr 4, 2020 9:26:01 PM (4 months ago)
Author:
unxusr
Message:

conditional copy of libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r2965 r2966  
    8787  - cd dist
    8888  - find /usr | grep -i liblapack.so
    89   - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "false" ]]; then cp /usr/lib/lapack/liblapack.so.3gf lib/ 2>/dev/null || : ; fi
    90   - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "false" ]]; then cp /usr/lib/x86_64-linux-gnu/libgfortran.so.5 lib/ 2>/dev/null || : ; fi
    91   - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "false" ]]; then cp /usr/lib/x86_64-linux-gnu/libgfortran.so.3 lib/ 2>/dev/null || : ; fi
    92   - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "false" ]]; then cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 lib/ 2>/dev/null || : ; fi
    93   - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $BUILD_STATIC == "false" ]]; then cp /usr/lib/libblas/libblas.so.3gf lib/ 2>/dev/null || : ; fi
     89  - [ -f /usr/lib/lapack/liblapack.so.3gf ] && cp /usr/lib/lapack/liblapack.so.3gf lib/
     90  - [ -f /usr/lib/x86_64-linux-gnu/libgfortran.so.5 ] && cp /usr/lib/x86_64-linux-gnu/libgfortran.so.5 lib/
     91  - [ -f /usr/lib/x86_64-linux-gnu/libgfortran.so.3 ] && cp /usr/lib/x86_64-linux-gnu/libgfortran.so.3 lib/
     92  - [ -f /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ] && cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 lib/
     93  - [ -f /usr/lib/libblas/libblas.so.3gf ] && cp /usr/lib/libblas/libblas.so.3gf lib/
    9494  - tar -czvf $TGZ_FILE lib/* bin/* include/* share/* README.md LICENSE AUTHORS
    9595  - curl -T $TGZ_FILE -utkralphs:$BINTRAY_API -H "X-Bintray-Publish:1" -H "X-Bintray-Override:1" https://api.bintray.com/content/coin-or/download/$PROJECT/$VERSION/$TGZ_FILE
Note: See TracChangeset for help on using the changeset viewer.