Skip to content

Commit

Permalink
remove xcode
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Sep 8, 2020
1 parent 7327023 commit 80879ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,7 @@ env:
# Static build. Note we have disable building the bindings because they won't work with a static libz3
- LINUX_BASE=ubuntu_16.04 C_COMPILER=/usr/bin/gcc-5 CXX_COMPILER=/usr/bin/g++-5 TARGET_ARCH=x86_64 Z3_STATIC_BUILD=1 DOTNET_BINDINGS=0 JAVA_BINDINGS=0 PYTHON_BINDINGS=0

# macOS (a.k.a OSX) support
matrix:
include:
# For now just test a single configuration. macOS builds on TravisCI are
# very slow so we should keep the number of configurations we test on this
# OS to a minimum.
- os: osx
osx_image: xcode9.2
env: Z3_BUILD_TYPE=RelWithDebInfo DOTNET_BINDINGS=0

script:
# Use `travis_wait` when doing LTO builds because this configuration will
# have long link times during which it will not show any output which
Expand Down
2 changes: 2 additions & 0 deletions src/api/c++/z3++.h
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,8 @@ namespace z3 {
}

friend std::ostream & operator<<(std::ostream & out, model const & m);

std::string to_string() const { return std::string(Z3_model_to_string(ctx(), m_model); }
};
inline std::ostream & operator<<(std::ostream & out, model const & m) { out << Z3_model_to_string(m.ctx(), m); return out; }

Expand Down

0 comments on commit 80879ce

Please sign in to comment.