Skip to content

Commit

Permalink
Support armv8 builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd committed Jul 19, 2024
1 parent fab2415 commit 7dc4999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 3rd_party/dpdk/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ def source(self):

def generate(self):
tc = MesonToolchain(self)
tc.preprocessor_definitions["machine"] = "default"
tc.project_options["machine"] = "generic"
tc.preprocessor_definitions["use_numa"] = "false"
if self.options.native_build:
meson_options['machine'] = 'native'
tc.project_options['machine'] = 'native'
if self.options.numa:
meson_options['use_numa'] = 'true'
tc.preprocessor_definitions['use_numa'] = 'true'
tc.generate()

def build(self):
Expand Down

0 comments on commit 7dc4999

Please sign in to comment.