cmake编译clBLAS库出现The LOCATION property should not be read from target test-correctness. Use the t
解决方法
cmake编译带上参数进行编译:
cmake …/src -DBUILD_TEST=False
错误:
-- You have confirmed OpenCL 1.2 is supported in your system
-- Target platform: 64-bit
-- Using default OpenCL Compiler
-- OPENCL_INCLUDE_DIRS: /usr/local/cuda/include
-- FindOpenCL searching for 64-bit libraries
-- FindOpenCL /usr/lib/x86_64-linux-gnu/libOpenCL.so, /usr/local/cuda/include
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- program_options
-- Boost_PROGRAM_OPTIONS_LIBRARY: /usr/lib/x86_64-linux-gnu/libboost_program_options.a
-- CMAKE_C_COMPILER_MACHINE: x86_64-linux-gnu
-- AutoGemm-PreCompile: no kernels to be pre-compiled.
-- OPENCL_VERSION = 1.2
-- clBLAS will NOT depend on /home/rui/files/clBLAS/build/include/AutoGemmKernelBinaries/AutoGemmKernelBinariesPreCompiled.h
CMake Warning (dev) at tests/CMakeLists.txt:388 (get_target_property):Policy CMP0026 is not set: Disallow use of the LOCATION target property.Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policycommand to set the policy and suppress this warning.The LOCATION property should not be read from target "test-correctness".Use the target name directly with add_custom_command, or use the generatorexpression $<TARGET_FILE>, as appropriate.This warning is for project developers. Use -Wno-dev to suppress it.
cmake编译clBLAS库出现The LOCATION property should not be read from target test-correctness. Use the t相关推荐
- Android CMake 编译so库
环境 Android Studio 3.0 JDK 1.8 Gradle 4.1 Demo地址: https://github.com/seeways/NDKDemo C++编译so库 创建项目 使用 ...
- cmake 编译 linux 库,使用CMake编译跨平台静态库
在开始介绍如何使用CMake编译跨平台的静态库以前,先讲讲我在没有使用CMake以前所趟过的坑.由于不少开源的程序,好比png,都是自带编译脚本的.咱们可使用下列脚原本进行编译:linux . / c ...
- 使用g++和cmake编译thread库报错
项目场景: 使用g++编译带thread库的C++代码 g++ listing_1.1.cpp -o list_1.1 问题描述 报错: /usr/bin/ld: /tmp/ccYH9VAd.o: i ...
- mingw+cmake编译Assimp库遇到undefine问题
### 起因: 学习OpenGL,希望在codeblocks中配置Assimp库,下载Assimp source文件再由cmake generate后,用mingw build遇到50个undefin ...
- cmake编译动态库和静态库
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(hello)#添加源文件 aux_source_directory(./ DIR_SRCS)#设置编译参数 se ...
- Cmake + CMakeLists.txt 编译SO库(JNI编译)
cmake android-ndk google demo- https://github.com/googlesamples/android-ndk 在Android Studio中使用C/C++库 ...
- 使用CMake编译freeglut-3.0.0的静态库
之前写了为了编译此库自己搭工程,有读者抱怨这个库,说作者没有提供现成的工程,自己搭工程太麻烦.而咱在linux下尝试编译,发现没有configure文件,所以就按照作者推荐的CMake来制作Makef ...
- python连不上树莓派_树莓派respberry中cmake编译链接python2.7库不成功,求教
本人在树莓派pi3平台上,下载respberry 5.4 lite 编译一个github上的项目,该项目用cmake管理,目前看到 链接库阶段不成功. 请教如何调整cmake的链接库目录,或是怎样直接 ...
- cmake导入so库_cmake编译.so库体积非常大,求解答
最近用cmake替代ndk-build编译so库,编译出来的so库打出很多,ndk-build编译的400k左右,cmake编译出的达到4.5M. Gradle插件的版本是:gradle:3.0.0, ...
最新文章
- envi 文件 生成mat_JVM 内存分析工具 MAT 的深度讲解与实践——入门篇
- [ZJOI 2010]count 数字计数
- 「实用」微信扫码 - 关注公众号后网站自动登录
- 吴恩达 deeplearning.ai 经典总结:28 张精炼图+思维导图(附下载链接)
- 2021年四季度企业薪酬报告发布 38个核心城市平均薪酬首次超万
- JAVA中小细节(易忽视和易错点)
- 布客·ApacheCN 编程/后端/大数据/人工智能学习资源 2020.9
- Build your own distribution based on Fedora CoreOS
- 我在工作中是这样使用Maven
- JZOJ 1235. 洪水
- 卷积神经网络 – CNN
- spark需要maven管理吗_使用Eclipse编写Spark应用程序(Scala+Maven)
- pycharm怎么安装python3.6_【python】Mac在Pycharm中导入python3.6(简单易行)
- 使用奇妙清单:轻松搞定家庭计划事项同步管理
- 计算机专业考研好还是就业好?
- 表的创建(create),修改(alter)和删除(drop)
- Unity -- 用EasyAR制作出AR红包
- 解决浏览器驱动和浏览器版本不匹配的报错:This version of ChromeDriver only supports Chrome version 97
- 解读手机拍照的各个参数(108M)
- 一个很简单的淘宝优惠券搜索助手 大家看看有没有用吧
热门文章
- 2023 typecho Diaspora 清新文艺自适应主题模板
- 建筑八大员考试武汉施工员考试公路路面裂缝的养护施工技术
- 运维知识AD域控基本功能介绍教程
- certbot证书安装
- 使用云祺虚拟机备份软件备份Citrix XenServer 虚拟机
- Word2010中怎样更改和恢复默认字体
- 相似性度量(距离度量)方法(一):基本种类与公式
- 一篇文章带你看懂以及实现加解密技术中的信息防篡改、一码一检、过期失效、多种实现方式
- oracle获取当年的所有周末,Oracle 获取上周一到周末日期的查询sql语句
- 【Python小脚本】1分钟100完成100题,某脚本python根据题库选择答案,准确率100%,真的牛了(超级赞)源码可分享,亲测好用~