我尝试了两天在我的电脑上安装cilk。目前我正在尝试在 Ubuntu 16.04 上安装它(因为 Ubuntu 18 似乎存在问题,所以我尝试安装较旧的操作系统)。我按照http://cilk.mit.edu/download/上的说明进行操作,但是当我执行命令时:
$ cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host -DLLVM_BINUTILS_INCDIR=/usr/include ..
它不起作用,给出以下错误:
CMake Error at cmake/modules/LLVM-Config.cmake:256 (message):
Library 'NVPTX' is a direct reference to a target library for an omitted
target.
Call Stack (most recent call first):
tools/polly/lib/CMakeLists.txt:91 (llvm_map_components_to_libnames)
-- Configuring incomplete, errors occurred!
我应该怎么办?