Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
move scripts to file to work around ppc64le problem with multiline cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Jan 21, 2020
1 parent 1eb2f39 commit e989e3d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,10 @@ before_install:
fi
# Set DEBUG_PRINT environment variable in settings
- if [ -n "${DEBUG_PRINT}" ]; then set -x; fi
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
- ./travis_before_install.sh

install:
# Maybe get and clean and patch source
- clean_code $REPO_DIR $BUILD_COMMIT
- ./patch_code.sh $REPO_DIR
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export CFLAGS=${CFLAGS}" -Wno-sign-compare -Wno-unused-result\
-Wno-strict-aliasing";
fi
- build_wheel $REPO_DIR $PLAT
- ./travis_install.sh

script:
- install_run $PLAT
Expand Down
6 changes: 6 additions & 0 deletions travis_before_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

source multibuild/common_utils.sh
source multibuild/travis_steps.sh
before_install

10 changes: 10 additions & 0 deletions travis_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Maybe get and clean and patch source
clean_code $REPO_DIR $BUILD_COMMIT
./patch_code.sh $REPO_DIR
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export CFLAGS=${CFLAGS}" -Wno-sign-compare -Wno-unused-result\
-Wno-strict-aliasing";
fi
build_wheel $REPO_DIR $PLAT

0 comments on commit e989e3d

Please sign in to comment.