Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
3634d867
Unverified
Commit
3634d867
authored
Feb 03, 2018
by
xoviat
Committed by
GitHub
Feb 03, 2018
Browse files
Merge pull request #139 from matthew-brett/osx-reliability
Osx reliability improvements
parents
65b49f49
fc4012f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
12 deletions
+5
-12
.travis.yml
.travis.yml
+0
-9
configure_build.sh
configure_build.sh
+3
-0
osx_utils.sh
osx_utils.sh
+0
-3
travis_osx_steps.sh
travis_osx_steps.sh
+2
-0
No files found.
.travis.yml
View file @
3634d867
...
...
@@ -6,10 +6,6 @@ cache:
directories
:
-
$HOME/.ccache
env
:
global
:
-
HOMEBREW_NO_AUTO_UPDATE=1
matrix
:
include
:
-
os
:
linux
...
...
@@ -27,11 +23,6 @@ matrix:
-
TEST_BUILDS=1
-
USE_CCACHE=1
sudo
:
required
-
os
:
osx
osx_image
:
xcode6.4
env
:
-
PYTHON_VERSION=2.7.11
-
TEST_BUILDS=1
-
os
:
osx
osx_image
:
xcode6.4
env
:
...
...
configure_build.sh
View file @
3634d867
...
...
@@ -22,6 +22,9 @@ if [ -n "$IS_OSX" ]; then
export
CFLAGS
=
"
${
CFLAGS
:-
$ARCH_FLAGS
}
"
export
CXXFLAGS
=
"
${
CXXFLAGS
:-
$ARCH_FLAGS
}
"
export
FFLAGS
=
"
${
FFLAGS
:-
$ARCH_FLAGS
}
"
# Disable homebrew auto-update
export
HOMEBREW_NO_AUTO_UPDATE
=
1
fi
# Promote BUILD_PREFIX on search path to any newly built libs
...
...
osx_utils.sh
View file @
3634d867
...
...
@@ -281,9 +281,6 @@ function get_macpython_environment {
local
version
=
$1
local
venv_dir
=
$2
# We MUST set this before calling homebrew or it could potentially fail
# See travis-ci issue #8552 for more details
export
HOMEBREW_NO_AUTO_UPDATE
=
1
if
[
"
$USE_CCACHE
"
==
"1"
]
;
then
activate_ccache
...
...
travis_osx_steps.sh
View file @
3634d867
...
...
@@ -18,6 +18,8 @@ source $MULTIBUILD_DIR/library_builders.sh
# config.sh can override any function defined here.
function
before_install
{
# Uninstall oclint. See Travis-CI gh-8826
brew cask uninstall oclint
||
true
export
CC
=
clang
export
CXX
=
clang++
get_macpython_environment
$MB_PYTHON_VERSION
venv
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment