[why] Adapting sysbench-threads needs old version to user
Signed-off-by: Hu XueJiao 1034502035@qq.com --- pkg/sysbench-threads-git/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/sysbench-threads-git/PKGBUILD
diff --git a/pkg/sysbench-threads-git/PKGBUILD b/pkg/sysbench-threads-git/PKGBUILD new file mode 100644 index 00000000..41ed9f46 --- /dev/null +++ b/pkg/sysbench-threads-git/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=sysbench-threads-git +pkgver=git +pkgrel=1 +pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." +url="http://github.com/dallasmarlow/sysbench.git" +arch=('x86_64' 'i386' 'aarch64') +license=('GPL') +source=("http://github.com/dallasmarlow/sysbench.git") +md5sums=('SKIP') + +build() +{ + cd "$srcdir/sysbench" + ./autogen.sh + ./configure --prefix=/usr --without-gcc-arch --without-mysql + make +} + +package() +{ + cd "$srcdir/sysbench" + make DESTDIR=$pkgdir install +}
On Thu, Nov 05, 2020 at 04:02:44PM +0800, Hu Xuejiao wrote:
[why] Adapting sysbench-threads needs old version to user
^^ Indent will be better.
Thanks, Chenglong
Signed-off-by: Hu XueJiao 1034502035@qq.com
pkg/sysbench-threads-git/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/sysbench-threads-git/PKGBUILD
diff --git a/pkg/sysbench-threads-git/PKGBUILD b/pkg/sysbench-threads-git/PKGBUILD new file mode 100644 index 00000000..41ed9f46 --- /dev/null +++ b/pkg/sysbench-threads-git/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=sysbench-threads-git +pkgver=git +pkgrel=1 +pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." +url="http://github.com/dallasmarlow/sysbench.git" +arch=('x86_64' 'i386' 'aarch64') +license=('GPL') +source=("http://github.com/dallasmarlow/sysbench.git") +md5sums=('SKIP')
+build() +{
- cd "$srcdir/sysbench"
- ./autogen.sh
- ./configure --prefix=/usr --without-gcc-arch --without-mysql
- make
+}
+package() +{
- cd "$srcdir/sysbench"
- make DESTDIR=$pkgdir install
+}
2.23.0
On Thu, Nov 05, 2020 at 04:02:44PM +0800, Hu Xuejiao wrote:
[why] Adapting sysbench-threads needs old version to user
Signed-off-by: Hu XueJiao 1034502035@qq.com
pkg/sysbench-threads-git/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/sysbench-threads-git/PKGBUILD
diff --git a/pkg/sysbench-threads-git/PKGBUILD b/pkg/sysbench-threads-git/PKGBUILD new file mode 100644 index 00000000..41ed9f46 --- /dev/null +++ b/pkg/sysbench-threads-git/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=sysbench-threads-git +pkgver=git +pkgrel=1 +pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." +url="http://github.com/dallasmarlow/sysbench.git" +arch=('x86_64' 'i386' 'aarch64') +license=('GPL') +source=("http://github.com/dallasmarlow/sysbench.git") +md5sums=('SKIP')
+build() +{
- cd "$srcdir/sysbench"
- ./autogen.sh
- ./configure --prefix=/usr --without-gcc-arch --without-mysql
- make
+}
+package() +{
- cd "$srcdir/sysbench"
- make DESTDIR=$pkgdir install
^^ where is this variable defined?
Thanks, Baijing
+}
2.23.0
On Thu, Nov 05, 2020 at 04:26:46PM +0800, Bai Jing wrote:
On Thu, Nov 05, 2020 at 04:02:44PM +0800, Hu Xuejiao wrote:
[why] Adapting sysbench-threads needs old version to user
Signed-off-by: Hu XueJiao 1034502035@qq.com
pkg/sysbench-threads-git/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/sysbench-threads-git/PKGBUILD
diff --git a/pkg/sysbench-threads-git/PKGBUILD b/pkg/sysbench-threads-git/PKGBUILD new file mode 100644 index 00000000..41ed9f46 --- /dev/null +++ b/pkg/sysbench-threads-git/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=sysbench-threads-git +pkgver=git +pkgrel=1 +pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." +url="http://github.com/dallasmarlow/sysbench.git" +arch=('x86_64' 'i386' 'aarch64') +license=('GPL') +source=("http://github.com/dallasmarlow/sysbench.git") +md5sums=('SKIP')
+build() +{
- cd "$srcdir/sysbench"
- ./autogen.sh
- ./configure --prefix=/usr --without-gcc-arch --without-mysql
- make
+}
+package() +{
- cd "$srcdir/sysbench"
- make DESTDIR=$pkgdir install
^^ where is this variable defined? Thanks, Baijing
It's a global variable, $pkgdir is /tmp/lkp/$pkgname/pkg/$pkgname
Thanks, Yale
+}
2.23.0
On Thu, Nov 05, 2020 at 04:02:44PM +0800, Hu Xuejiao wrote:
[why] Adapting sysbench-threads needs old version to user
Signed-off-by: Hu XueJiao 1034502035@qq.com
pkg/sysbench-threads-git/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkg/sysbench-threads-git/PKGBUILD
diff --git a/pkg/sysbench-threads-git/PKGBUILD b/pkg/sysbench-threads-git/PKGBUILD new file mode 100644 index 00000000..41ed9f46 --- /dev/null +++ b/pkg/sysbench-threads-git/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=sysbench-threads-git +pkgver=git +pkgrel=1
Where the pkgrel was used? if not used , it'll download a latest version from github.
Thanks, Zhangyu
+pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load." +url="http://github.com/dallasmarlow/sysbench.git" +arch=('x86_64' 'i386' 'aarch64') +license=('GPL') +source=("http://github.com/dallasmarlow/sysbench.git") +md5sums=('SKIP')
+build() +{
- cd "$srcdir/sysbench"
- ./autogen.sh
- ./configure --prefix=/usr --without-gcc-arch --without-mysql
- make
+}
+package() +{
- cd "$srcdir/sysbench"
- make DESTDIR=$pkgdir install
+}
2.23.0