diff mbox series

[2/2] ci: test LuaJIT build

Message ID 20240917070633.50683-2-michael.adler@siemens.com
State Accepted
Delegated to: Stefano Babic
Headers show
Series [1/2] fix: LuaJIT build issue due to duplicate definitions | expand

Commit Message

Michael Adler Sept. 17, 2024, 7:06 a.m. UTC
Signed-off-by: Michael Adler <michael.adler@siemens.com>
Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 ci/setup.sh                            | 1 +
 configs/with_luajit_handlers_defconfig | 5 +++++
 2 files changed, 6 insertions(+)
 create mode 100644 configs/with_luajit_handlers_defconfig

Comments

Stefano Babic Sept. 17, 2024, 7:39 a.m. UTC | #1
On 17.09.24 09:06, 'Michael Adler' via swupdate wrote:
> Signed-off-by: Michael Adler <michael.adler@siemens.com>
> Signed-off-by: Christian Storm <christian.storm@siemens.com>
> ---
>   ci/setup.sh                            | 1 +
>   configs/with_luajit_handlers_defconfig | 5 +++++
>   2 files changed, 6 insertions(+)
>   create mode 100644 configs/with_luajit_handlers_defconfig
>
> diff --git a/ci/setup.sh b/ci/setup.sh
> index 6ce8b653..b7274db3 100755
> --- a/ci/setup.sh
> +++ b/ci/setup.sh
> @@ -27,6 +27,7 @@ $_SUDO apt-get install -y \
>       curl \
>       libzmq3-dev \
>       liblua5.2-dev \
> +    libluajit-5.1-dev \
>       libconfig-dev \
>       libarchive-dev \
>       libbtrfsutil-dev \
> diff --git a/configs/with_luajit_handlers_defconfig b/configs/with_luajit_handlers_defconfig
> new file mode 100644
> index 00000000..70747dd4
> --- /dev/null
> +++ b/configs/with_luajit_handlers_defconfig
> @@ -0,0 +1,5 @@
> +# SPDX-FileCopyrightText: 2024 Michael Adler <michael.adler@siemens.com>
> +# SPDX-License-Identifier: CC0-1.0
> +CONFIG_LUAPKG="luajit"
> +CONFIG_EXTRA_CFLAGS="-g"
> +CONFIG_LUASCRIPTHANDLER=y

Reviewed-by: Stefano Babic <stefano.babic@swupdate.org>
diff mbox series

Patch

diff --git a/ci/setup.sh b/ci/setup.sh
index 6ce8b653..b7274db3 100755
--- a/ci/setup.sh
+++ b/ci/setup.sh
@@ -27,6 +27,7 @@  $_SUDO apt-get install -y \
     curl \
     libzmq3-dev \
     liblua5.2-dev \
+    libluajit-5.1-dev \
     libconfig-dev \
     libarchive-dev \
     libbtrfsutil-dev \
diff --git a/configs/with_luajit_handlers_defconfig b/configs/with_luajit_handlers_defconfig
new file mode 100644
index 00000000..70747dd4
--- /dev/null
+++ b/configs/with_luajit_handlers_defconfig
@@ -0,0 +1,5 @@ 
+# SPDX-FileCopyrightText: 2024 Michael Adler <michael.adler@siemens.com>
+# SPDX-License-Identifier: CC0-1.0
+CONFIG_LUAPKG="luajit"
+CONFIG_EXTRA_CFLAGS="-g"
+CONFIG_LUASCRIPTHANDLER=y