dpdk: add conflicts('target=aarch64:') (#20550)

This commit is contained in:
h-denpo 2020-12-26 07:43:05 +09:00 committed by GitHub
parent f1d0ec7fc1
commit dd06c86559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')