Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
daa4a2c7
Commit
daa4a2c7
authored
Feb 12, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9351 Fix CPU detection for TokuDB on FreeBSD
"x86_64" is "amd64" on FreeBSD
parent
5a0f2f5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
storage/tokudb/CMakeLists.txt
storage/tokudb/CMakeLists.txt
+4
-7
No files found.
storage/tokudb/CMakeLists.txt
View file @
daa4a2c7
SET
(
TOKUDB_VERSION 5.6.26-74.0
)
# PerconaFT only supports x86-64 and cmake-2.8.9+
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
AND
NOT CMAKE_VERSION VERSION_LESS
"2.8.9"
)
IF
(
CMAKE_VERSION VERSION_LESS
"2.8.9"
)
MESSAGE
(
STATUS
"CMake 2.8.9 or higher is required by TokuDB"
)
ELSEIF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
OR
CMAKE_SYSTEM_PROCESSOR STREQUAL
"amd64"
)
CHECK_CXX_SOURCE_COMPILES
(
"
struct a {int b; int c; };
struct a d = { .b=1, .c=2 };
int main() { return 0; }
"
TOKUDB_OK
)
ELSE
()
IF
(
CMAKE_SYSTEM_PROCESSOR STREQUAL
"x86_64"
AND
CMAKE_VERSION VERSION_LESS
"2.8.9"
)
MESSAGE
(
STATUS
"CMake 2.8.9 or higher is required by TokuDB"
)
ENDIF
()
ENDIF
()
IF
(
NOT TOKUDB_OK OR WITHOUT_TOKUDB OR WITHOUT_TOKUDB_STORAGE_ENGINE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment