]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
CI: do not use LD_BIRARY_PATH anymore
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 12 Jan 2020 18:39:17 +0000 (23:39 +0500)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Wed, 15 Jan 2020 20:50:10 +0000 (23:50 +0300)
.cirrus.yml
.travis.yml

index 24d7fff3fa6200f2ca49489a56334d1448b54728..6e04657785adadd1f2299ad054e8dd44e4005caa 100644 (file)
@@ -3,7 +3,6 @@ FreeBSD_task:
     image_family: freebsd-12-1
   env:
     PREFIX: ${HOME}/opt
-    LD_LIBRARY_PATH: ${PREFIX}/lib
     PATH: ${PREFIX}/bin:${PATH}
     OPENSSL_BRANCH: master
   install_script:
@@ -12,7 +11,7 @@ FreeBSD_task:
   script:
     - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
     - cd openssl
-    - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} && make all install_sw > build.log 2>&1 || (cat build.log && exit 1)
+    - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib && make all install_sw > build.log 2>&1 || (cat build.log && exit 1)
     - cd ..
     - mkdir build
     - cd build
index f1f19c3ed3b744366582d4aa9c92d99ca9d188af..d617ecec89a7734b4ea45ee267097ddbb73596b3 100644 (file)
@@ -47,16 +47,13 @@ before_script:
   - sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
   - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
   - cd openssl
-  - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} && travis_wait make -s -j$(nproc) all && make -s install_sw
+  - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib && travis_wait make -s -j$(nproc) all && make -s install_sw
   - cd ..
 
 script:
-  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export LD_LIBRARY_PATH="${PREFIX}/lib:${LD_LIBRARY_PATH:-}"; fi
-  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export DYLD_LIBRARY_PATH="${PREFIX}/lib:${DYLD_LIBRARY_PATH:-}"; fi
   - mkdir build
   - cd build
   - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ${ASAN} ..
   - make
   - make test CTEST_OUTPUT_ON_FAILURE=1
   - if [ -z "$ASAN" ]; then make tcl_tests; fi
-