ci: explicitly set PKG_CONFIG_PATH for openssl
authorMike Blumenkrantz <zmike@samsung.com>
Wed, 1 Aug 2018 02:38:03 +0000 (22:38 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Wed, 8 Aug 2018 01:23:10 +0000 (10:23 +0900)
travis upgraded to macos high sierra overnight without notification(?)
and this is now required in order to find openssl for some reason

also disable config.cache to prevent configure errors

Differential Revision: https://phab.enlightenment.org/D6718

.ci/ci-configure.sh
.travis.yml

index 0d1f65c..9d57589 100755 (executable)
@@ -70,7 +70,7 @@ else
 
   export CFLAGS="-I/usr/local/opt/openssl/include -frewrite-includes $CFLAGS"
   export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
-  export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
+  export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
 
   # Normal build test of all targets
   rm -f ~/.ccache/ccache.conf
index e4d8cc9..4e19347 100644 (file)
@@ -84,10 +84,6 @@ before_script:
       fi
 
   - .ci/ci-ccache-stats.sh
-  - |
-       if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-         cp $HOME/cachedir/config.cache . || true
-       fi
 
 script:
   - .ci/ci-configure.sh "$CI_BUILD_TYPE"