Commit 2966b448 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼 Committed by Léo-Paul Géneau

keep debug symbols and compile only what's needed

parent 2478a4d6
...@@ -37,7 +37,7 @@ pre-configure = ...@@ -37,7 +37,7 @@ pre-configure =
configure-command = configure-command =
${:cmake} ${:cmake}
configure-options = configure-options =
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_FLAGS="${:CMAKE_CFLAGS}" -DCMAKE_C_FLAGS="${:CMAKE_CFLAGS}"
-DCMAKE_CXX_FLAGS="${:CMAKE_CFLAGS}" -DCMAKE_CXX_FLAGS="${:CMAKE_CFLAGS}"
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@ -DCMAKE_INSTALL_PREFIX=@@LOCATION@@
......
...@@ -18,7 +18,7 @@ configure-command = ...@@ -18,7 +18,7 @@ configure-command =
${cmake:location}/bin/cmake ${cmake:location}/bin/cmake
configure-options = configure-options =
-DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=@@LOCATION@@ -DCMAKE_INSTALL_PREFIX=@@LOCATION@@
-DUA_ENABLE_PUBSUB=ON -DUA_ENABLE_PUBSUB=ON
-DUA_ENABLE_SUBSCRIPTIONS=ON -DUA_ENABLE_SUBSCRIPTIONS=ON
......
...@@ -10,8 +10,8 @@ parts = qjs-wrapper ...@@ -10,8 +10,8 @@ parts = qjs-wrapper
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true shared = true
configure-command = true configure-command = true
url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/v1.0/qjs-wrapper-v1.0.tar.gz url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/debug/qjs-wrapper-debug.tar.gz
md5sum = 0f1393fa15d46b2b551836197af9de46 md5sum = ad3b19805d0f0954ddaf8538e04e805c
environment = environment =
C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include
CPLUS_INCLUDE_PATH=include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk CPLUS_INCLUDE_PATH=include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk
......
...@@ -11,3 +11,7 @@ url = https://bellard.org/quickjs/quickjs-2021-03-27.tar.xz ...@@ -11,3 +11,7 @@ url = https://bellard.org/quickjs/quickjs-2021-03-27.tar.xz
md5sum = 135182a626aa0c87a49aa2bf58fd39bf md5sum = 135182a626aa0c87a49aa2bf58fd39bf
environment = environment =
PATH=${xz-utils:location}/bin:%(PATH)s PATH=${xz-utils:location}/bin:%(PATH)s
pre-install = touch libquickjs.a libquickjs.lto.a
make-options =
PROGS=qjs
STRIP=echo
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment