Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
May 9, 2023

Conversation

scorpioluck20
Copy link
Contributor

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

  - Add depend compile project
  - Add link to libMNN.so file
@scorpioluck20 scorpioluck20 self-assigned this May 4, 2023
@scorpioluck20 scorpioluck20 added the enhancement New feature or request label May 4, 2023
   - Link ipfs-lite-cpp modules to branch 14-integrate-ipfs-man
   - Update URL of ipfs-lite-cpp
@scorpioluck20 scorpioluck20 force-pushed the 14-integrate-ipfs-mnn branch 15 times, most recently from 8aaccf9 to dc4cb60 Compare May 7, 2023 03:51
@scorpioluck20
Copy link
Contributor Author

Linux Build is working now.

@scorpioluck20
Copy link
Contributor Author

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.

@SuperGNUS SuperGNUS merged commit 5c25277 into develop May 9, 2023
@SuperGNUS SuperGNUS deleted the 14-integrate-ipfs-mnn branch May 9, 2023 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate IPFS loading from ipfs-lite-cpp library to load File formats for MNN
3 participants