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
8f4e4ad0
"" did not exist on "6bae18e0187a311b80abab0b7c02a9fbd144f34e"
Commit
8f4e4ad0
authored
11 years ago
by
Veniamin Gvozdikov
Browse files
Options
Downloads
Patches
Plain Diff
Added checks types for detect arch of OSX
parent
bb79c139
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/arch.cmake
+12
-0
12 additions, 0 deletions
cmake/arch.cmake
with
12 additions
and
0 deletions
cmake/arch.cmake
+
12
−
0
View file @
8f4e4ad0
...
...
@@ -14,3 +14,15 @@ if (${HAVE_BYTE_ORDER_BIG_ENDIAN} OR
message
(
FATAL_ERROR
"Tarantool currently only supports little-endian hardware"
)
message
(
FATAL_ERROR
"with unaligned word access."
)
endif
()
#
# Bug in CMake, Darwin always detect on i386
# Fixed with check types
#
if
(
${
CMAKE_SYSTEM_NAME
}
STREQUAL
"Darwin"
)
if
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
set
(
CMAKE_SYSTEM_PROCESSOR
"x86_64"
)
else
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
set
(
CMAKE_SYSTEM_PROCESSOR
"x86"
)
endif
(
CMAKE_SIZEOF_VOID_P MATCHES 8
)
endif
()
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