-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error in cmake after libtuv update #105
Comments
On ARM64 machines, I encountered similar problem:
|
@marktwtn, We might have to put pre-configured cmake options in directory |
After providing two files, I got
|
Related: #108 |
The error is caused by the hardware platform mismatching of Here is the modification needs to be done:
libutv modification
|
Did you mean the file |
Exactly. We can simply enable arm/aarch64 build first, that is crucial for us to prepare new releases. Then, we might contribute back to |
Take the
If we want to support
|
We don't have to tune board-specific options since the computing is taking place in FPGA rather than Arm side. |
Sorry for my misunderstanding of the original problem. The issue will focus on building the And I will open another issue for making |
The original building process would compile CPU-related code as well even if we assign the other platform(GPU or FPGA) only. The current building process can build each platform independently. If no hardware platform is specified, the CPU and the supported instruction set would be chose. The libtuv code would be compiled only if the specified hardware platforms contain CPU. Close DLTcollab#105.
The original building process would compile CPU-related code as well even if we assign the other platform(GPU or FPGA) only. The current building process can build each platform independently. If no hardware platform is specified, the CPU and the supported instruction set would be chose. The libtuv code would be compiled only if the specified hardware platforms contain CPU. Close DLTcollab#105.
The original building process would compile CPU-related code as well even if we assign the other platform(GPU or FPGA) only. The current building process can build each platform independently. If no hardware platform is specified, the CPU and the supported instruction set would be chose. The libtuv code would be compiled only if the specified hardware platforms contain CPU. Close DLTcollab#105.
I try to compile using my de10 nano and get this error .
root@lampa:~/dcurl# make BUILD_FPGA_ACCEL=1
git submodule update --init deps/libtuv
Submodule 'deps/libtuv' (https://github.com/DLTcollab/libtuv.git) registered for path 'deps/libtuv'
Cloning into '/root/dcurl/deps/libtuv'...
Submodule path 'deps/libtuv': checked out '3177b57937056ab5255adc4ad338d5e4ee844eab'
CC build/curl.o
CC build/constants.o
CC build/trinary.o
CC build/dcurl.o
CC build/implcontext.o
CC build/common.o
CC build/pow_c.o
CC build/pow_fpga_accel.o
make -C deps/libtuv TUV_BUILD_TYPE=release TUV_CREATE_PIC_LIB=yes
make[1]: Entering directory '/root/dcurl/deps/libtuv'
mkdir -p ./build/armv7l-linux/release/cmake
cmake -B./build/armv7l-linux/release/cmake -H./ -DCMAKE_TOOLCHAIN_FILE=./cmake/config/config_armv7l-linux.cmake -DCMAKE_BUILD_TYPE=release -DTARGET_PLATFORM=armv7l-linux -DBUILDTESTER=yes -DBUILD_HOST_HELPER=no -DCREATE_SHARED_LIB=no -DCREATE_PIC_LIB=yes -DTUV_FEATURE_PROCESS=ON
CMake Error at /usr/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake:94 (message):
Could not find toolchain file: ./cmake/config/config_armv7l-linux.cmake
Call Stack (most recent call first):
CMakeLists.txt:16 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Makefile:63: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/root/dcurl/deps/libtuv'
mk/submodule.mk:23: recipe for target 'deps/libtuv/build/armv7l-linux/release/lib/libtuv.o' failed
make: *** [deps/libtuv/build/armv7l-linux/release/lib/libtuv.o] Error 2
The text was updated successfully, but these errors were encountered: