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:
parent
9021f6fdd2
commit
9614581ebe
2 changed files with 25 additions and 0 deletions
24
include/toolchain/llvm.h
Normal file
24
include/toolchain/llvm.h
Normal 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_ */
|
|
@ -6,6 +6,7 @@ common:
|
|||
- mps2_an521
|
||||
- native_posix
|
||||
tags: cmsis_dsp
|
||||
toolchain_exclude: llvm
|
||||
|
||||
tests:
|
||||
libraries.cmsis_dsp.filtering:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue