tests: dsp: filtering: exclude on llvm

optimize attribute is not supported by LLVM.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-04-19 00:11:19 -04:00
commit 9614581ebe
2 changed files with 25 additions and 0 deletions

24
include/toolchain/llvm.h Normal file
View file

@ -0,0 +1,24 @@
/*
* Copyright (c) 2021 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_TOOLCHAIN_LLVM_H_
#define ZEPHYR_INCLUDE_TOOLCHAIN_LLVM_H_
#ifndef _LINKER
#if defined(_ASMLANGUAGE)
#include <toolchain/common.h>
#else /* defined(_ASMLANGUAGE) */
#define __no_optimization __attribute__((optnone))
#include <toolchain/gcc.h>
#endif /* _ASMLANGUAGE */
#endif /* !_LINKER */
#endif /* ZEPHYR_INCLUDE_TOOLCHAIN_LLVM_H_ */

View file

@ -6,6 +6,7 @@ common:
- mps2_an521
- native_posix
tags: cmsis_dsp
toolchain_exclude: llvm
tests:
libraries.cmsis_dsp.filtering: