GeniusVentures / thirdparty

2 stars 2 forks source link

Integrate IPFS loading from ipfs-lite-cpp library to load File formats for MNN #23

Closed scorpioluck20 closed 1 year ago

scorpioluck20 commented 1 year ago

Pull request to merge current implement. Try to test CI build. Compile take so much time at local machine. OS: Ubuntu 20.04 LTS GCC: 11.3.0 version

scorpioluck20 commented 1 year ago

Linux Build is working now.

scorpioluck20 commented 1 year ago

Window OS build failed with configuration:

2023-05-07T04:03:29.5588710Z -- >>>>>>>>>>>>>
2023-05-07T04:03:29.5690070Z -- MNN BUILD INFO:
2023-05-07T04:03:29.5791540Z --     System: Darwin
2023-05-07T04:03:29.5892880Z --     Processor: 
2023-05-07T04:03:29.5994280Z --     Version: 2.4.3
2023-05-07T04:03:29.6095670Z --     Metal: OFF
2023-05-07T04:03:29.6197060Z --     OpenCL: OFF
2023-05-07T04:03:29.6298530Z --     OpenGL: OFF
2023-05-07T04:03:29.6400020Z --     Vulkan: OFF
2023-05-07T04:03:29.6501470Z --     ARM82: OFF
2023-05-07T04:03:29.6501870Z --     oneDNN: OFF
2023-05-07T04:03:29.6603470Z --     TensorRT: OFF
2023-05-07T04:03:29.6704700Z --     CoreML: OFF
2023-05-07T04:03:29.6806580Z --     NNAPI: OFF
2023-05-07T04:03:29.6908030Z --     CUDA: OFF
2023-05-07T04:03:29.7009390Z --     OpenMP: OFF
2023-05-07T04:03:29.7110640Z --     BF16: 
2023-05-07T04:03:29.7212260Z --     ThreadPool: ON
2023-05-07T04:03:29.7316680Z --     Hidden: TRUE
2023-05-07T04:03:29.7418150Z --     Build Path: /Users/runner/work/thirdparty/thirdparty/.build/MNN/src/MNN-build
2023-05-07T04:03:29.7519460Z --     CUDA PROFILE: OFF
2023-05-07T04:03:29.7620860Z -- WIN_USE_ASM: 
...
2023-05-07T04:45:15.3200450Z ld: symbol(s) not found for architecture arm64
2023-05-07T04:45:15.3301830Z clang: error: linker command failed with exit code 1 (use -v to see invocation)
2023-05-07T04:45:15.3402840Z make[5]: *** [libMNN.dylib] Error 1
2023-05-07T04:45:15.3503750Z make[4]: *** [CMakeFiles/MNN.dir/all] Error 2
2023-05-07T04:45:15.3604640Z make[4]: *** Waiting for unfinished jobs....

iOS Build failed and MAC OSX have some other build error too

2023-05-07T04:31:54.3432210Z CMake Error: INSTALL(EXPORT) given unknown export "gRPCPluginTargets"
2023-05-07T04:31:57.9190870Z [ 28%] Building CXX object CMakeFiles/rocksdb.dir/db/wide/wide_column_serialization.cc.o
2023-05-07T04:31:58.3109920Z -- Generating done (6.3s)
2023-05-07T04:31:58.7633790Z CMake Generate step failed.  Build files cannot be regenerated correctly.
2023-05-07T04:31:58.8337470Z make[2]: *** [grpc/src/grpc-stamp/grpc-configure] Error 1
2023-05-07T04:31:58.8438910Z make[1]: *** [CMakeFiles/grpc.dir/all] Error 2
...
2023-05-07T04:33:09.8502200Z make[3]: *** [all] Error 2
2023-05-07T04:33:09.8502530Z [ 58%] Built target MNNConverterTF
2023-05-07T04:33:09.8603220Z make[2]: *** [MNN/src/MNN-stamp/MNN-build] Error 2
2023-05-07T04:33:09.8704210Z make[1]: *** [CMakeFiles/MNN.dir/all] Error 2

I think we should create a new issue for this. Look like we need update our CommonTargets.CMake file for update compilation on multiple OS.