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

On Wed, Dec 16, 2020 at 10:34:50AM +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 000000000..9706b3c5e --- /dev/null +++ b/pkg/api-avx2neon/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=api-avx2neon +pkgver=1 +pkgrel=1 +arch=('i386' 'x86_64')
Can this PKGBUILD run in aarch64?? Thanks, Zhangyu
+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 Yu