[llvm-bugs] [Bug 48773] New: PSTL cmake generation fails due to whitelisted property error
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jan 16 06:52:48 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48773
Bug ID: 48773
Summary: PSTL cmake generation fails due to whitelisted
property error
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: planetmarshalluk at gmail.com
CC: llvm-bugs at lists.llvm.org
PSTL CMake with TBB backend fails with the following error:
```
CMake Error at /home/andrew/projects/llvm-project/pstl/CMakeLists.txt:34
(add_library):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "OUTPUT_NAME" is not allowed.
```
cmake version 3.18.2
llvm 11.0.1
steps to reproduce:
```
git clone https://github.com/llvm/llvm-project.git
cd llvm-project
git checkout llvmorg-11.0.1
mkdir build
cd build
cmake ../llvm \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_PROJECTS="libcxx;pstl" \
-DLIBCXX_ENABLE_PARALLEL_ALGORITHMS=True \
-DPSTL_PARALLEL_BACKEND=tbb
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210116/05fdc311/attachment-0001.html>
More information about the llvm-bugs
mailing list