Skip to content
Snippets Groups Projects
Commit d3a2a854 authored by Aleksandr Vodianov's avatar Aleksandr Vodianov
Browse files

update build for arm and amd

parent 71f03a8a
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ if [[ $ARCH_VERSION == "arm" ]]; then ...@@ -62,6 +62,7 @@ if [[ $ARCH_VERSION == "arm" ]]; then
fi fi
if [[ $ARCH_VERSION == "amd64" ]]; then if [[ $ARCH_VERSION == "amd64" ]]; then
sed -i 's/target_link_libraries(${NODE_TARGET} ${NODE_LIBRARIES} pthread )/target_link_libraries(${NODE_TARGET} ${NODE_LIBRARIES} pthread z util expat )/' ../CMakeLists.txt || error=$?
${CMAKE_PATH}cmake ../ && make -j$(nproc) && ${CMAKE_PATH}cpack && repack *.deb && mv -v *.deb ../packages/ && rm -r * \ ${CMAKE_PATH}cmake ../ && make -j$(nproc) && ${CMAKE_PATH}cpack && repack *.deb && mv -v *.deb ../packages/ && rm -r * \
&& ${CMAKE_PATH}cmake -DCMAKE_BUILD_TYPE=Debug ../ && make -j$(nproc) && ${CMAKE_PATH}cpack && repack *.deb && mv -v *.deb ../packages/ && rm -r * || error=$? && ${CMAKE_PATH}cmake -DCMAKE_BUILD_TYPE=Debug ../ && make -j$(nproc) && ${CMAKE_PATH}cpack && repack *.deb && mv -v *.deb ../packages/ && rm -r * || error=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment