forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for travis-ci OS X builds: - Add linux- prefix to existing build/prepare scripts - Create new OS X flavored build/prepare scripts - Update .travis.yml for OS X At this time only one build job included in the matrix for OS X. Signed-off-by: Lance Richardson <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information
1 parent
837351e
commit 40a75bb
Showing
6 changed files
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
|
||
CFLAGS="-Werror -Wno-error=format $CFLAGS" | ||
EXTRA_OPTS="" | ||
|
||
function configure_ovs() | ||
{ | ||
./boot.sh && ./configure $* | ||
} | ||
|
||
configure_ovs $EXTRA_OPTS $* | ||
|
||
if [ "$CC" = "clang" ]; then | ||
make CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument" | ||
else | ||
make CFLAGS="$CFLAGS $BUILD_ENV" | ||
fi | ||
if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then | ||
if ! make distcheck RECHECK=yes; then | ||
# testsuite.log is necessary for debugging. | ||
cat */_build/tests/testsuite.log | ||
exit 1 | ||
fi | ||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
set -ev | ||
pip install --user six |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters