当前位置: 首页 > news >正文

网站设计 配色百度指数属于行业趋势及人群

网站设计 配色,百度指数属于行业趋势及人群,设计方案审查意见,前端如何做双语网站官方没有android的编译方法,自己编写脚本在macos下交叉编译. 下载源码: git clone https://github.com/hxim/paq8px.git 稍旧的ndk并不能编译成功,需要下载最新的ndkr27c, 最后是使用clang来编译。 编译build.sh export ANDROID_NDK/Vol…

  官方没有android的编译方法,自己编写脚本在macos下交叉编译.

下载源码: git clone https://github.com/hxim/paq8px.git 

稍旧的ndk并不能编译成功,需要下载最新的ndkr27c, 最后是使用clang来编译。

编译build.sh
export ANDROID_NDK=/Volumes/data/Codes/AndroidNDK12479018.app/Contents/NDKcmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake \-DANDROID_ABI="arm64-v8a" \-DANDROID_NDK=$ANDROID_NDK \-DANDROID_PLATFORM=android-31 \..make

修改paq8px/CMakeLists.txt, 如下,去掉clang++不支持的-march=nocona和-floop-strip-mine

 
if (NATIVECPU)add_definitions(-march=native -mtune=native)
else ()
#    add_definitions(-march=nocona -mtune=generic)add_definitions(-mtune=generic)
endif (NATIVECPU)if (DISABLE_ZLIB)add_definitions(-DDISABLE_ZLIB)
endif (DISABLE_ZLIB)if (NDEBUG)add_definitions(-DNDEBUG)
endif (NDEBUG)set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
#set(CMAKE_CXX_FLAGS "-O3 -floop-strip-mine -funroll-loops -ftree-vectorize -fgcse-sm -falign-loops=16")
set(CMAKE_CXX_FLAGS "-O3 -funroll-loops -ftree-vectorize -fgcse-sm -falign-loops=16")

运行编译,成功

mkdir mybuild
cd mybuild
chmod +x ../build.sh$ ../build.sh
-- The C compiler identification is Clang 18.0.3
-- The CXX compiler identification is Clang 18.0.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Volumes/data/Codes/AndroidNDK12479018.app/Contents/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Volumes/data/Codes/AndroidNDK12479018.app/Contents/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /Volumes/data/Codes/AndroidNDK12479018.app/Contents/NDK/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/arm-linux-androideabi/31/libz.so (found version "1.3.0.1")
-- IPO / LTO enabled
-- Configuring done (3.1s)
-- Generating done (0.0s)
-- Build files have been written to: /Volumes/evo2T/src/paq8px/androidbuid
[  1%] Building CXX object CMakeFiles/paq8px.dir/ProgramChecker.cpp.o
....
2 warnings generated.
[ 97%] Building CXX object CMakeFiles/paq8px.dir/StateMapPair.cpp.o
clang++: warning: optimization flag '-fgcse-sm' is not supported [-Wignored-optimization-argument]
[ 98%] Building CXX object CMakeFiles/paq8px.dir/SimdMixer.cpp.o
clang++: warning: optimization flag '-fgcse-sm' is not supported [-Wignored-optimization-argument]
[100%] Linking CXX executable paq8px

http://www.tj-hxxt.cn/news/46537.html

相关文章:

  • 网站建设 小程序制作免费卖货平台
  • 电商网站开发目的深圳互联网推广公司
  • 做网站怎么样才能赚到钱机构类网站有哪些
  • wordpress用户组 隐藏seo
  • 做网站是什么课合肥网站优化排名推广
  • 个人做门户网站如何编写一个网站
  • 企业网站源码自适应seosem顾问
  • 日照网站建设doingseo大型网站seo课程
  • 药膳网站建设的目的湖南发展最新消息公告
  • 网站刷单账务处理怎么做百度seo技术优化
  • 网络推广软件费用情况aso具体优化
  • 自己做网站 套模板yoast seo教程
  • 短视频代运营公司靠谱吗许昌网站seo
  • github做网站空间关键词搜索点击软件
  • 怎么用阿里云建网站软文网站推荐
  • dedecms做论坛网站全球疫情最新数据统计
  • 宁波附近的seo推广广东百度seo
  • 渠道网站怎么做蛋糕
  • 做下载类网站赚钱吗成品短视频网站源码搭建
  • 海淀石家庄网站建设百度快照入口官网
  • 苏州网站建设熊掌分析网站推广和优化的原因
  • 企业宣传网站设计论文百度软件
  • 新余商城网站建设哪里有做网络推广的
  • 美间在线设计平台安卓手机优化
  • 怎么做网站安全运维电子商务网站建设与管理
  • 长春市长春网站建设网seo外链发布工具
  • 怪兽网站模板泰安seo
  • wordpress 用户 搜索绍兴seo推广公司
  • 做电影网站用什么虚拟主机网址搜索ip地址
  • 石青网站推广软件2023年8月疫情严重吗