Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
b9945325
Commit
b9945325
authored
6 years ago
by
Viktor Oreshkin
Committed by
Konstantin Osipov
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.MacOSX (#3758)
parent
539ceb91
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.MacOSX
+14
-5
14 additions, 5 deletions
README.MacOSX
with
14 additions
and
5 deletions
README.MacOSX
+
14
−
5
View file @
b9945325
Target OS: MacOS X "
El Capitan
"
Target OS: MacOS X "
High Sierra
"
In the Homebrew environment, you can download the latest tarantool package
with a single command:
...
...
@@ -19,7 +19,7 @@ sudo xcode-select --install
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
For Homebrew:
brew install cmake readline
brew install cmake readline
icu4c openssl
For MacPorts:
port install autoconf binutils cmake ncurses zlib readline
...
...
@@ -33,7 +33,7 @@ To install these packages, we recommend easy_install, pip, or setup.py.
For easy_install:
sudo easy_install pyyaml
sudo easy_install
python-daemon
sudo easy_install
argparse
sudo easy_install msgpack-python
sudo easy_install gevent
sudo easy_install six
...
...
@@ -63,6 +63,8 @@ cd tarantool
mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCURL_INCLUDE_DIR=$(xcode-select --sdk macosx --show-sdk-path)/usr/include \
-DCURL_LIBRARY=/usr/lib/libcurl.dylib \
-DDARWIN_BUILD_TYPE=Ports
make
...
...
@@ -70,9 +72,16 @@ In this example, we are making a developer's build (-DCMAKE_BUILD_TYPE=RelWithDe
with cmake using MacPorts (-DDARWIN_BUILD_TYPE=Ports). To build a release version,
set -DCMAKE_BUILD_TYPE=Release.
Remember also to set up the cmake's flag -DDARWIN_BUILD_TYPE depending on the package
Remember also to set up the cmake's flag -DDARWIN_BUILD_TYPE depending on the package
manager you use ('-DDARWIN_BUILD_TYPE=None' for Xcode Tools and Homebrew, and
'-DDARWIN_BUILD_TYPE=None' for MacPorts).
'-DDARWIN_BUILD_TYPE=Ports' for MacPorts). It is set to None by default.
Some Homebrew formulas are "keg-only", which means that they're not
symlinked into `/usr/local`. So, if you have used Homebrew for
dependencies, you would need following flags for it to find `openssl`
and GNU `readline`:
-DOPENSSL_ROOT_DIR=$(brew --prefix openssl) -DREADLINE_ROOT=$(brew --prefix readline)
4. Run tarantool test suite
-------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment