endif
# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
-if host_machine.system() != 'windows' and (not with_platform_android or get_option('platform-sdk-version') >= 29)
+if not ['windows', 'freebsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
pre_args += '-DUSE_ELF_TLS'
endif
endif
_opencl = get_option('gallium-opencl')
-clover_cpp_std = []
if _opencl != 'disabled'
if not with_gallium
error('OpenCL Clover implementation requires at least one gallium driver.')
dep_spirv_tools = null_dep
dep_llvmspirvlib = null_dep
endif
-
- if host_machine.cpu_family().startswith('ppc') and cpp.compiles('''
- #if !defined(__VEC__) || !defined(__ALTIVEC__)
- #error "AltiVec not enabled"
- #endif''',
- name : 'Altivec')
- clover_cpp_std += ['cpp_std=gnu++11']
- endif
else
dep_clc = null_dep
dep_spirv_tools = null_dep