提交 729fb9ad 编写于 作者: J Junio C Hamano

Merge branch 'ls/macos-update' into maint

Portability update and workaround for builds on recent Mac OS X.

* ls/macos-update:
  travis-ci: disable GIT_TEST_HTTPD for macOS
  Makefile: set NO_OPENSSL on macOS by default
...@@ -32,7 +32,6 @@ env: ...@@ -32,7 +32,6 @@ env:
- DEFAULT_TEST_TARGET=prove - DEFAULT_TEST_TARGET=prove
- GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save" - GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
- GIT_TEST_OPTS="--verbose-log" - GIT_TEST_OPTS="--verbose-log"
- GIT_TEST_HTTPD=true
- GIT_TEST_CLONE_2GB=YesPlease - GIT_TEST_CLONE_2GB=YesPlease
# t9810 occasionally fails on Travis CI OS X # t9810 occasionally fails on Travis CI OS X
# t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X # t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X
...@@ -57,6 +56,8 @@ before_install: ...@@ -57,6 +56,8 @@ before_install:
- > - >
case "${TRAVIS_OS_NAME:-linux}" in case "${TRAVIS_OS_NAME:-linux}" in
linux) linux)
export GIT_TEST_HTTPD=YesPlease
mkdir --parents custom/p4 mkdir --parents custom/p4
pushd custom/p4 pushd custom/p4
wget --quiet http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION/bin.linux26x86_64/p4d wget --quiet http://filehost.perforce.com/perforce/r$LINUX_P4_VERSION/bin.linux26x86_64/p4d
......
...@@ -1044,6 +1044,7 @@ ifeq ($(uname_S),Darwin) ...@@ -1044,6 +1044,7 @@ ifeq ($(uname_S),Darwin)
endif endif
endif endif
ifndef NO_APPLE_COMMON_CRYPTO ifndef NO_APPLE_COMMON_CRYPTO
NO_OPENSSL = YesPlease
APPLE_COMMON_CRYPTO = YesPlease APPLE_COMMON_CRYPTO = YesPlease
COMPAT_CFLAGS += -DAPPLE_COMMON_CRYPTO COMPAT_CFLAGS += -DAPPLE_COMMON_CRYPTO
endif endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册