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
e044aafb
Commit
e044aafb
authored
11 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Patches
Plain Diff
Remove references to Objective C.
parent
ea571b4f
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.md
+2
-3
2 additions, 3 deletions
README.md
cmake/compiler.cmake
+0
-38
0 additions, 38 deletions
cmake/compiler.cmake
doc/user/tutorial.xml
+1
-2
1 addition, 2 deletions
doc/user/tutorial.xml
with
3 additions
and
43 deletions
README.md
+
2
−
3
View file @
e044aafb
...
...
@@ -16,9 +16,8 @@ Caveats:
COMPILATION AND INSTALL
Tarantool is written in C and Objective C.
To build, you will need GCC Objective C frontend
(gcc-objc package on most systems) or Apple CLang compiler.
Tarantool is written in C and C++.
To build, you will need GCC or Apple CLang compiler.
CMake is used for configuration management.
3 standard CMake build types are supported:
...
...
This diff is collapsed.
Click to expand it.
cmake/compiler.cmake
+
0
−
38
View file @
e044aafb
...
...
@@ -16,7 +16,6 @@ if (CMAKE_C_COMPILER_ID STREQUAL Clang)
set
(
CMAKE_COMPILER_IS_GNUCXX OFF
)
endif
()
# TODO: clang version is not checked
if
(
CMAKE_COMPILER_IS_GNUCC
)
# gcc and g++ >= 4.5 are supported
execute_process
(
COMMAND
${
CMAKE_C_COMPILER
}
-dumpversion
...
...
@@ -77,43 +76,6 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions
(
"-DNDEBUG"
"-DNVALGRIND"
)
endif
()
#
# Enable @try/@catch/@finaly syntax in Objective C code.
#
add_compile_flags
(
"OBJC;OBJCXX"
"-fobjc-exceptions"
)
#
# Invoke C++ constructors/destructors in the Objective C class instances.
#
add_compile_flags
(
"OBJCXX"
"-fobjc-call-cxx-cdtors"
)
#
# Assume that all Objective-C message dispatches (e.g., [receiver message:arg])
# ensure that the receiver is not nil. This allows for more efficient entry
# points in the runtime to be used
#
if
(
CMAKE_COMPILER_IS_GNUCC
)
add_compile_flags
(
"OBJC;OBJCXX"
"-fno-nil-receivers"
)
endif
()
if
(
CMAKE_COMPILER_IS_CLANG
)
add_compile_flags
(
"OBJC"
"-fobjc-nonfragile-abi"
"-fno-objc-legacy-dispatch"
)
endif
()
if
(
CMAKE_COMPILER_IS_CLANGXX
)
add_compile_flags
(
"OBJCXX"
"-fobjc-nonfragile-abi"
"-fno-objc-legacy-dispatch"
)
elseif
(
CMAKE_COMPILER_IS_GNUCXX
)
# Suppress deprecated warnings in objc/runtime-deprecated.h
add_compile_flags
(
"OBJCXX"
" -Wno-deprecated-declarations"
)
endif
()
macro
(
enable_tnt_compile_flags
)
# Tarantool code is written in GNU C dialect.
# Additionally, compile it with more strict flags than the rest
...
...
This diff is collapsed.
Click to expand it.
doc/user/tutorial.xml
+
1
−
2
View file @
e044aafb
...
...
@@ -53,8 +53,7 @@
To build Tarantool from source, additionally:
<itemizedlist>
<listitem><para>
CMake 2.6 or newer,
</para></listitem>
<listitem><para>
GCC 4.4 or newer, with gcc-objc (ObjectiveC)
language frontend or Clang 3.1 or newer,
</para></listitem>
<listitem><para>
GCC 4.5 or newer or Clang 3.1 or newer,
</para></listitem>
<listitem><para>
libreadline-dev, when compiling the
command line client.
</para></listitem>
...
...
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