Skip to content

Commit

Permalink
dpdk: add conflicts('target=aarch64:') (spack#20550)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-denpo authored Dec 25, 2020
1 parent f1d0ec7 commit dd06c86
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions var/spack/repos/builtin/packages/dpdk/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit dd06c86

Please sign in to comment.