summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-denpo <57649496+h-denpo@users.noreply.github.com>2020-12-26 07:43:05 +0900
committerGitHub <noreply@github.com>2020-12-25 16:43:05 -0600
commitdd06c86559845fc384011f5e9cb253ef8550c9fb (patch)
tree229fccb199b0ba82fe26396303f570a20090194d
parentf1d0ec7fc15eb62e296c22f9ee5e201e1b1125d5 (diff)
downloadspack-dd06c86559845fc384011f5e9cb253ef8550c9fb.tar.gz
spack-dd06c86559845fc384011f5e9cb253ef8550c9fb.tar.bz2
spack-dd06c86559845fc384011f5e9cb253ef8550c9fb.tar.xz
spack-dd06c86559845fc384011f5e9cb253ef8550c9fb.zip
dpdk: add conflicts('target=aarch64:') (#20550)
-rw-r--r--var/spack/repos/builtin/packages/dpdk/package.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/dpdk/package.py b/var/spack/repos/builtin/packages/dpdk/package.py
index b01c41be84..7be4ae606d 100644
--- a/var/spack/repos/builtin/packages/dpdk/package.py
+++ b/var/spack/repos/builtin/packages/dpdk/package.py
@@ -19,15 +19,9 @@ class Dpdk(MakefilePackage):
version('19.05', sha256='5fea95cb726e6adaa506dab330e79563ccd4dacf03f126c826aabdced605d32b')
version('19.02', sha256='04885d32c86fff5aefcfffdb8257fed405233602dbcd22f8298be13c2e285a50')
- depends_on('numactl')
+ conflicts('target=aarch64:', msg='DPDK is not supported on aarch64.')
- @when('%gcc target=aarch64:')
- def patch(self):
- filter_file(
- r'^MACHINE_CFLAGS',
- '#MACHINE_CFLAGS',
- join_path('mk', 'machine', 'armv8a', 'rte.vars.mk')
- )
+ depends_on('numactl')
def build(self, spec, prefix):
make('defconfig')