Re: [PATCH lkp-tests] pkg/: add PKGBUILD for AvxToNeon

On Tue, Dec 15, 2020 at 05:17:21PM +0800, Li Ping wrote:
Signed-off-by: Li Ping <1477412247@qq.com> --- pkg/api-avx2neon/PKGBUILD | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pkg/api-avx2neon/PKGBUILD
diff --git a/pkg/api-avx2neon/PKGBUILD b/pkg/api-avx2neon/PKGBUILD new file mode 100644 index 00000000..1451c01b --- /dev/null +++ b/pkg/api-avx2neon/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=api-avx2neon +pkgver=1 ^ May be pkgver is "git".
Thanks, Yale
+pkgrel=0 +arch=('i386' 'x86_64') +url="https://github.com/kunpengcompute/AvxToNeon.git" +license=('GPL') +source=("https://github.com/kunpengcompute/AvxToNeon.git") +md5sums=('SKIP') + +build() { + cd "$srcdir/AvxToNeon/tests" + make +} + +package() { + benchmark_path="${pkgdir}/lkp/benchmarks/${pkgname}" + mkdir -p "${benchmark_path}" + cp -af "${srcdir}/AvxToNeon/"* "${benchmark_path}" +} -- 2.23.0
participants (1)
-
Zhang Yale