git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: cleanup
[dpdk.git]
/
lib
/
librte_distributor
/
meson.build
diff --git
a/lib/librte_distributor/meson.build
b/lib/librte_distributor/meson.build
index
e9caf86
..
266af64
100644
(file)
--- a/
lib/librte_distributor/meson.build
+++ b/
lib/librte_distributor/meson.build
@@
-1,11
+1,16
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-sources = files('rte_distributor.c', 'rte_distributor_
v20
.c')
+sources = files('rte_distributor.c', 'rte_distributor_
single
.c')
if arch_subdir == 'x86'
sources += files('rte_distributor_match_sse.c')
else
sources += files('rte_distributor_match_generic.c')
endif
headers = files('rte_distributor.h')
if arch_subdir == 'x86'
sources += files('rte_distributor_match_sse.c')
else
sources += files('rte_distributor_match_generic.c')
endif
headers = files('rte_distributor.h')
-deps += ['mbuf', 'compat']
+deps += ['mbuf']
+
+# for clang 32-bit compiles we need libatomic for 64-bit atomic ops
+if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
+ ext_deps += cc.find_library('atomic')
+endif