Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
38a0fdf2
Verified
Commit
38a0fdf2
authored
5 years ago
by
Dan Theisen
Browse files
Options
Downloads
Patches
Plain Diff
user/numactl: new package
parent
ca9bd22c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!269
Popular Demand Packages -- MR #1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
user/numactl/APKBUILD
+47
-0
47 additions, 0 deletions
user/numactl/APKBUILD
user/numactl/musl.patch
+21
-0
21 additions, 0 deletions
user/numactl/musl.patch
with
68 additions
and
0 deletions
user/numactl/APKBUILD
0 → 100644
+
47
−
0
View file @
38a0fdf2
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname
=
numactl
pkgver
=
2.0.12
pkgrel
=
0
pkgdesc
=
"Simple NUMA policy support"
url
=
"https://github.com/numactl/numactl"
# ARM lacks the __NR_migrate_pages syscall
arch
=
"all !armhf !armv7"
license
=
"GPL-2.0+ AND LGPL-2.1"
makedepends
=
"autoconf automake libtool linux-headers"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-tools"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/numactl/
$pkgname
/archive/v
$pkgver
.tar.gz
musl.patch"
prepare
()
{
default_prepare
./autogen.sh
}
build
()
{
./configure
\
--prefix
=
/usr
\
--mandir
=
/usr/share/man
make
}
check
()
{
make check
VERBOSE
=
1
TESTS
=
'test/distance test/nodemap test/tbitmap'
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
# provided by linux man-pages
rm
-r
"
$pkgdir
"
/usr/share/man/man2
}
tools
()
{
pkgdesc
=
"NUMA policy control tools"
mkdir
-p
"
$subpkgdir
"
/usr
mv
"
$pkgdir
"
/usr/bin
"
$subpkgdir
"
/usr
}
sha512sums
=
"3814efd924d1c9152a30f6ae5b665afc20648226cd475d72b933c0ec4f30249af4e25110de17f144734b787ed765644dca09a657219806ab5c9c550abd45bf8e numactl-2.0.12.tar.gz
c24affa5a8a8ea83d7f0ee384dc0629e17a5c4201357132f770f894ad4236772116d96d8389d54fb99095af40d1ccbffc3170b5fb9cc88cfca39179f50bee9c9 musl.patch"
This diff is collapsed.
Click to expand it.
user/numactl/musl.patch
0 → 100644
+
21
−
0
View file @
38a0fdf2
--- numactl-2.0.11/syscall.c.orig
+++ numactl-2.0.11/syscall.c
@@ -115,14 +115,16 @@
#endif
-#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 11)
+#if defined(__GLIBC__)
+# if __GLIBC_PREREQ(2,11)
/* glibc 2.11 seems to have working 6 argument sycall. Use the
glibc supplied syscall in this case.
The version cut-off is rather arbitary and could be probably
earlier. */
-#define syscall6 syscall
+# define syscall6 syscall
+#endif
#elif defined(__x86_64__)
/* 6 argument calls on x86-64 are often buggy in both glibc and
asm/unistd.h. Add a working version here. */
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