c649f0b4f5
When compiling with clang on 32-bit platforms, we are missing copies of 64-bit atomic functions. We can solve this by linking against libatomic for the drivers and libs which need those atomic ops. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org>
19 lines
491 B
Meson
19 lines
491 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Cavium, Inc
|
|
|
|
sources = files('ssovf_worker.c',
|
|
'ssovf_evdev.c',
|
|
'ssovf_evdev_selftest.c',
|
|
'ssovf_probe.c',
|
|
'timvf_worker.c',
|
|
'timvf_evdev.c',
|
|
'timvf_probe.c'
|
|
)
|
|
|
|
deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', 'pmd_octeontx']
|
|
|
|
# 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
|