Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Pirogov
aports
Commits
88089177
Commit
88089177
authored
6 years ago
by
Mike Sullivan
Committed by
Natanael Copa
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/rocksdb: fix ppc64le platform detection and re-enable build
parent
b1cc921e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/rocksdb/APKBUILD
+4
-2
4 additions, 2 deletions
testing/rocksdb/APKBUILD
testing/rocksdb/ppc64le-determine-platform.patch
+11
-0
11 additions, 0 deletions
testing/rocksdb/ppc64le-determine-platform.patch
with
15 additions
and
2 deletions
testing/rocksdb/APKBUILD
+
4
−
2
View file @
88089177
...
...
@@ -2,11 +2,11 @@
# Maintainer:
pkgname
=
rocksdb
pkgver
=
5.15.10
pkgrel
=
3
pkgrel
=
4
pkgdesc
=
"A persistent key-value store for fast storage environments"
url
=
"https://rocksdb.org"
# fails to build on other archs
arch
=
"x86 x86_64"
arch
=
"x86 x86_64
ppc64le
"
license
=
"GPL-2.0"
depends
=
""
depends_dev
=
"bzip2-dev snappy-dev zlib-dev lz4-dev zstd-dev"
...
...
@@ -15,6 +15,7 @@ install=""
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
options
=
"!check"
# no upstream/available test-suite
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/facebook/
$pkgname
/archive/v
$pkgver
.tar.gz
ppc64le-determine-platform.patch
10-support-busybox-install.patch"
_builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -34,4 +35,5 @@ package() {
}
sha512sums
=
"3faef43cc343c20e044f92af7cd9eae9783612d888bfe17b7d0ae6812090088f43a128e5686600ec56f5a88c100eaa893b2551f8c32df793a4ccd94330c07037 rocksdb-5.15.10.tar.gz
a7445cf958e414b6eac8a4f05e82fa980c00276da7305a158f3fa77f71bdff606713cd88fae8db0b9fb97125fef646e9e6245fef3a3f2e97d0ef20be259fb37d ppc64le-determine-platform.patch
2b33041baa061e6cedfcbc606fd9752d907ebba84cb76ff13641ac4683e614e527530453bcbe0e0c6b67b36415dee477aec268024a05b8815c534f4d6bfb6cc0 10-support-busybox-install.patch"
This diff is collapsed.
Click to expand it.
testing/rocksdb/ppc64le-determine-platform.patch
0 → 100644
+
11
−
0
View file @
88089177
--- a/build_tools/build_detect_platform
+++ b/build_tools/build_detect_platform
@@ -507,7 +507,7 @@
if test -z "$PORTABLE"; then
if test -n "`echo $TARGET_ARCHITECTURE | grep ^ppc64`"; then
# Tune for this POWER processor, treating '+' models as base models
- POWER=`LD_SHOW_AUXV=1 /bin/true | grep AT_PLATFORM | grep -E -o power[0-9]+`
+ POWER=`cat /proc/cpuinfo | grep -m1 -E -o POWER[0-9]+ | awk '{print tolower($0)}'`
COMMON_FLAGS="$COMMON_FLAGS -mcpu=$POWER -mtune=$POWER "
elif test -n "`echo $TARGET_ARCHITECTURE | grep ^s390x`"; then
COMMON_FLAGS="$COMMON_FLAGS -march=z10 "
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