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
ef50f533
Commit
ef50f533
authored
10 years ago
by
Vasiliy Soshnikov
Browse files
Options
Downloads
Patches
Plain Diff
#638, minor fixes & updates;
parent
4ed5892a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.MacOSX
+11
-1
11 additions, 1 deletion
README.MacOSX
cmake/FindReadline.cmake
+11
-11
11 additions, 11 deletions
cmake/FindReadline.cmake
src/tarantool.cc
+2
-1
2 additions, 1 deletion
src/tarantool.cc
with
24 additions
and
13 deletions
README.MacOSX
+
11
−
1
View file @
ef50f533
...
...
@@ -41,6 +41,16 @@ of "Command Line Tools for Xcode". This package contains /usr/bin/clang and
3. Install necessary python modules: pyYAML, python-daemon
-------------
If you use latest Mac OS X version it is recommended using easy_install or pip.
For instance to install these packages via easy_install just type following commands
into terminal:
sudo easy_install pyyaml
sudo easy_install pydaemon
sudo easy_install daemon
Otherwise see following instruction
NB: it is recommended to install python modules through setup.py,
using the default python (which should be >= 2.6.x and < 3.x);
...
...
@@ -60,7 +70,7 @@ NOTE: If you want to get DMG package go to section 6.
cd tarantool
mkdir build && cd build
CC=clang CXX=clang++
cmake .. \
cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DENABLE_CLIENT=true \
-DDARWIN_BUILD_TYPE=Ports
...
...
This diff is collapsed.
Click to expand it.
cmake/FindReadline.cmake
+
11
−
11
View file @
ef50f533
...
...
@@ -25,17 +25,17 @@ endif()
SET
(
READLINE_FOUND FALSE
)
IF
(
READLINE_READLINE_LIBRARY AND READLINE_INCLUDE_DIR
)
SET
(
READLINE_FOUND TRUE
)
SET
(
READLINE_INCLUDE_DIR
${
READLINE_INCLUDE_DIR
}
)
SET
(
READLINE_LIBRARIES
${
READLINE_READLINE_LIBRARY
}
)
MESSAGE
(
STATUS
"Found GNU readline:
${
READLINE_READLINE_LIBRARY
}
"
)
IF
(
TERMCAP_FOUND
)
SET
(
READLINE_LIBRARIES
${
READLINE_LIBRARIES
}
${
TERMCAP_LIBRARY
}
)
ENDIF
(
TERMCAP_FOUND
)
SET
(
READLINE_FOUND TRUE
)
SET
(
READLINE_INCLUDE_DIR
${
READLINE_INCLUDE_DIR
}
)
SET
(
READLINE_LIBRARIES
${
READLINE_READLINE_LIBRARY
}
)
MESSAGE
(
STATUS
"Found GNU readline:
${
READLINE_READLINE_LIBRARY
}
, include dir
${
READLINE_INCLUDE_DIR
}
"
)
IF
(
TERMCAP_FOUND
)
SET
(
READLINE_LIBRARIES
${
READLINE_LIBRARIES
}
${
TERMCAP_LIBRARY
}
)
ENDIF
(
TERMCAP_FOUND
)
ENDIF
(
READLINE_READLINE_LIBRARY AND READLINE_INCLUDE_DIR
)
MARK_AS_ADVANCED
(
READLINE_FOUND
READLINE_INCLUDE_DIR
READLINE_LIBRARIES
)
READLINE_FOUND
READLINE_INCLUDE_DIR
READLINE_LIBRARIES
)
This diff is collapsed.
Click to expand it.
src/tarantool.cc
+
2
−
1
View file @
ef50f533
...
...
@@ -543,10 +543,11 @@ main(int argc, char **argv)
__libc_stack_end
=
(
void
*
)
&
argv
;
#endif
start_time
=
ev_time
();
#ifndef __APPLE__
/* set locale to make iswXXXX function work */
if
(
setlocale
(
LC_CTYPE
,
"C.UTF-8"
)
==
NULL
)
fprintf
(
stderr
,
"Failed to set locale to C.UTF-8
\n
"
);
#endif
if
(
argc
>
1
&&
access
(
argv
[
1
],
R_OK
)
!=
0
)
{
if
(
argc
==
2
&&
argv
[
1
][
0
]
!=
'-'
)
{
/*
...
...
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