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
60d45c4b
Commit
60d45c4b
authored
11 years ago
by
Veniamin Gvozdikov
Browse files
Options
Downloads
Patches
Plain Diff
Fixed README.MacOSX and added a bit new information
parent
de437dcd
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
+20
-7
20 additions, 7 deletions
README.MacOSX
with
20 additions
and
7 deletions
README.MacOSX
+
20
−
7
View file @
60d45c4b
...
...
@@ -2,7 +2,11 @@ OS X Readme
===========
This manual explains how to manually build tarantool from sources.
If you just need a working binary, please use homebrew:
Supporting kinds of build with default Apple developer software and external as
homebrew as MacPorts.
If you want to build at the Homebrew environment execute just:
brew install http://tarantool.org/dist/tarantool.rb
...
...
@@ -13,16 +17,17 @@ First of all, make sure mac ports are available (to install packages from).
1. Install necessary packages (ports):
-------------
De
veloper tools by Appl
e:
De
fault build depended by Developer tools by Apple and -DDARWIN_BUILD_TYPE=Non
e:
sudo xcode-select --install
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
sudo xcode-select --install
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Homebrew
:
To enable build type with MacPorts set up the flag -DDARWIN_BUILD_TYPE=Ports
:
port install autoconf binutils cmake ncurses zlib readline
port install autoconf binutils cmake ncurses zlib readline
2. Upgrade clang to 3.2+
-------------
Go to http://developer.apple.com/ to download and install the latest version
of "Command Line Tools for Xcode". This package contains /usr/bin/clang and
...
...
@@ -43,10 +48,16 @@ the directory the module's archive deflates into.
4. Download & build tarantool source code:
-------------
NOTE: If you want to get DMG package go to section 6.
git clone --recursive git://github.com/tarantool/tarantool.git
cd tarantool
CC=clang CXX=clang++ cmake . -DCMAKE_BUILD_TYPE=RelWithDebugInfo -DENABLE_CLIENT=true
mkdir build && cd build
CC=clang CXX=clang++ cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DENABLE_CLIENT=true \
-DDARWIN_BUILD_TYPE=Ports
make
5. Run tarantool test suite
...
...
@@ -75,6 +86,7 @@ https://developer.apple.com (necessary login with Apple ID account).
Execute commands to get DMG package by root (if you not root you'll get files with incorrect permissions):
mkdir build && cd build
sudo -s
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr/local \
...
...
@@ -82,6 +94,7 @@ cmake .. \
-DENABLE_BACKTRACE=OFF \
-DCMAKE_C_COMPILER="clang" \
-DCMAKE_CXX_COMPILER="clang++" \
-DDARWIN_BUILD_TYPE=None \
-DENABLE_CLIENT=ON
make package
...
...
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