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
1015cbde
Commit
1015cbde
authored
Jan 11, 2021
by
Brad Smith
Committed by
Daniel Black
Jan 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24556: Build does not recognize powerpc64 (OpenBSD)
Reviewer: Daniel Black
parent
49b87749
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysys/CMakeLists.txt
mysys/CMakeLists.txt
+1
-1
storage/rocksdb/build_rocksdb.cmake
storage/rocksdb/build_rocksdb.cmake
+2
-2
No files found.
mysys/CMakeLists.txt
View file @
1015cbde
...
@@ -115,7 +115,7 @@ ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64")
...
@@ -115,7 +115,7 @@ ELSEIF(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64")
COMPILE_FLAGS
"-march=armv8-a+crc+crypto"
)
COMPILE_FLAGS
"-march=armv8-a+crc+crypto"
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDIF
()
ELSEIF
(
CMAKE_SYSTEM_PROCESSOR MATCHES
"ppc64"
)
ELSEIF
(
CMAKE_SYSTEM_PROCESSOR MATCHES
"ppc64
|powerpc64
"
)
SET
(
MYSYS_SOURCES
${
MYSYS_SOURCES
}
crc32/crc32_ppc64.c crc32/crc32c_ppc.c
)
SET
(
MYSYS_SOURCES
${
MYSYS_SOURCES
}
crc32/crc32_ppc64.c crc32/crc32c_ppc.c
)
SET_SOURCE_FILES_PROPERTIES
(
crc32/crc32_ppc64.c crc32/crc32c_ppc.c PROPERTIES
SET_SOURCE_FILES_PROPERTIES
(
crc32/crc32_ppc64.c crc32/crc32c_ppc.c PROPERTIES
COMPILE_FLAGS
"
${
COMPILE_FLAGS
}
-maltivec -mvsx -mpower8-vector -mcrypto -mpower8-vector"
)
COMPILE_FLAGS
"
${
COMPILE_FLAGS
}
-maltivec -mvsx -mpower8-vector -mcrypto -mpower8-vector"
)
...
...
storage/rocksdb/build_rocksdb.cmake
View file @
1015cbde
...
@@ -109,8 +109,8 @@ if(NOT WIN32)
...
@@ -109,8 +109,8 @@ if(NOT WIN32)
endif
()
endif
()
include
(
CheckCCompilerFlag
)
include
(
CheckCCompilerFlag
)
# ppc64 or ppc64le
# ppc64 or ppc64le
or powerpc64 (BSD)
if
(
CMAKE_SYSTEM_PROCESSOR MATCHES
"ppc64"
)
if
(
CMAKE_SYSTEM_PROCESSOR MATCHES
"ppc64
|powerpc64
"
)
CHECK_C_COMPILER_FLAG
(
"-maltivec"
HAS_ALTIVEC
)
CHECK_C_COMPILER_FLAG
(
"-maltivec"
HAS_ALTIVEC
)
if
(
HAS_ALTIVEC
)
if
(
HAS_ALTIVEC
)
message
(
STATUS
" HAS_ALTIVEC yes"
)
message
(
STATUS
" HAS_ALTIVEC yes"
)
...
...
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