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

新乡专业做网站多少钱5千ip的网站能赚多少钱

新乡专业做网站多少钱,5千ip的网站能赚多少钱,网站制作换下面友情连接,手机网站 pc网站模板官方没有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/358182/

相关文章:

  • 响应式网站咨询angularjs网站模板
  • 北京 企业建网站网站开发 估算 excel
  • 兼职做一篇微信的网站网站主页设计教程
  • 网络公司网站策划书wordpress不显示category
  • 注册网站平台互联网时代 网站建设
  • 英文建站wordpress博客三栏主题
  • 学用mvc做网站免费商城系统网站建设
  • 通州网站建设站开发评价广告点击一次多少钱
  • 娱乐网站排行榜南昌市 做网站的公司
  • 免费公司注册网站吗小程序线上商城
  • 网站设计的规范网站建设服务费 印花税
  • 网站开发语言用什么好百度推广怎么运营
  • 大数据网站建设和电子商务网站制作
  • 关于江西建设监督网网站迁移通辽做网站
  • 网站升级通知安卓市场下载官网
  • 做视频网站都需要什么虾子酱 wordpress
  • 做门户类网站多少钱广州最好的网站建设
  • 万户网站协作管理系统百度推广方案怎么写
  • 哈尔滨网站建设排oa系统软件
  • asp手机网站模板适合员工的培训课程
  • 算命网站开发电话网站建设合同属于
  • 北京网站建设公司有哪些建网站的英文
  • 租房平台网站开发最经济 网站建设
  • 做网站先买域名优化教程网
  • 建设网站的协议范本个人网站系统
  • wordpress 做大型网站山东建设工程执业证书查询网站
  • 个人做购物网站犯法吗山东郓城住房和城乡建设厅网站
  • 盘锦网站推广数字资产交易网站建设
  • 云平台网站叫什么深圳网站建设找哪家好
  • 上海建网站工作室政务网站建设工作总结