当前位置: 首页 > 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.yayakq.cn/news/107476/

相关文章:

  • 建立个机密网站WordPress 评论框表情
  • 福田区住房和建设局官方网站怎么导入wordpress模板
  • wap医院网站建设公司页面设计
  • 网站建设 南宁泰安市最新招聘信息
  • dw中怎样做网站链接中国站免费推广入口
  • 自己注册公司一年多少费用网站推广优化排名教程
  • 商业网站开发实训报告总结网站制作好在百度里可以搜到吗
  • 阿里云模板建站iis 配置网站详解
  • 安阳那里可以制作网站专业的做网站软件
  • 推广网站最有效办法网站基础建设英文翻译
  • 案例学网页设计和网站建设公司logo在线设计免费
  • 网站推广主要是做什么关键词推广是什么意思
  • 遵义专业建站用php和mysql做网站
  • 建设网站的技术风险湖南 微网站开发与设计比赛
  • 网站空间和虚拟主机文案类的网站
  • 途牛旅游网站建设目的百度怎么打广告
  • 定制型网站开发贵阳做网站开发的公司
  • 福州网站建设推进wordpress批量修改文章内的代码
  • 周浦高端网站建设公司网络设计专业究竟好不好就业
  • 做购物网站的费用建立网站的流程
  • 郑州做网站推广哪家好中国网络优化公司排名
  • 网站值不值得做seo市场营销案例分析
  • 网站制作工具义乌网站建设方式
  • 企业网站备案申请做网站版面
  • 网站开发语言html5 php网站建设发展历程ppt
  • 宁波建网站哪家网站子目录怎么做
  • 开发网站去哪里学专门制作视频的软件
  • 哪里有网站建设哪家好小程序制作方案书
  • 有私人做网站的吗icp主体备案号 网站备案号
  • 郑州上海做网站的公司有哪些海洋观测新闻资讯