Compare commits

..

6 Commits

Author SHA1 Message Date
8ccc22fb24 Change binutils version and update config
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-04 18:31:21 +02:00
fc52124cd0 Fix wrong config
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 23:45:18 +02:00
33e0e3258c Add cortex-a53 to CT_ARCH_CPU
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 21:20:01 +02:00
0e07884fa5 Fix duplicate variable
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 19:57:10 +02:00
9e891aeef3 Replace . with _ for llama variables names
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 19:54:05 +02:00
57dfad90f8 Add llama.cpp on CI
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-08-03 19:40:36 +02:00
2 changed files with 129 additions and 16 deletions

View File

@ -4,13 +4,9 @@ on:
push:
branches:
- "*"
paths-ignore:
- "**.md"
pull_request:
branches:
- "*"
paths-ignore:
- "**.md"
workflow_dispatch:
jobs:
@ -79,6 +75,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -98,6 +96,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -117,6 +117,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -136,6 +138,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -156,6 +160,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "yes",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -175,6 +181,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -194,6 +202,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -213,6 +223,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -233,6 +245,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -253,6 +267,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -272,6 +288,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -291,6 +309,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -311,6 +331,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -330,6 +352,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -349,6 +373,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -369,6 +395,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -388,6 +416,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -407,6 +437,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -426,6 +458,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -445,6 +479,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -465,6 +501,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -485,6 +523,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -505,6 +545,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -524,6 +566,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -543,6 +587,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -562,6 +608,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -582,6 +630,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -601,6 +651,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -621,6 +673,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -641,6 +695,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -660,6 +716,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -680,6 +738,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -700,6 +760,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -720,6 +782,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -740,6 +804,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -760,6 +826,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "yes",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -780,6 +848,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -799,6 +869,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -818,6 +890,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -837,6 +911,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -857,6 +933,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -876,6 +954,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -896,6 +976,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "yes",
@ -915,6 +997,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "yes",
@ -935,6 +1019,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -955,6 +1041,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -974,6 +1062,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "yes",
fmt_arg: "",
raylib: "no",
@ -993,6 +1083,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1013,6 +1105,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "yes",
@ -1032,6 +1126,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1051,6 +1147,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1071,6 +1169,8 @@ jobs:
C_arg: "",
C-Plus-Plus: "no",
C-Plus-Plus_arg: "",
llama_cpp: "no",
llama_cpp_arg: "",
fmt: "no",
fmt_arg: "",
raylib: "no",
@ -1148,7 +1248,7 @@ jobs:
cd ..
rm -rf C
# Updated on 12/09/2022
# Updated on 12/09/2022 No longer maintained
- name: C-Plus-Plus build test
if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }}
run: |
@ -1159,6 +1259,17 @@ jobs:
cd ..
rm -rf C-Plus-Plus
# Updated on 03/08/2024
- name: llama.cpp build test
if: ${{ matrix.arch_name.llama_cpp == 'yes' }}
run: |
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
git checkout 76614f352e94d25659306d9e97321f204e5de0d3
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.llama_cpp_arg }}
cd ..
rm -rf llama.cpp
# Updated on 12/09/2022
- name: fmt build test
if: ${{ matrix.arch_name.fmt == 'yes' }}

View File

@ -21,6 +21,7 @@ CT_CONFIGURE_has_python_3_4_or_newer=y
CT_CONFIGURE_has_bison_2_7_or_newer=y
CT_CONFIGURE_has_bison_3_0_4_or_newer=y
CT_CONFIGURE_has_python=y
CT_CONFIGURE_has_dtc=y
CT_CONFIGURE_has_git=y
CT_CONFIGURE_has_md5sum=y
CT_CONFIGURE_has_sha1sum=y
@ -355,10 +356,10 @@ CT_BINUTILS_PKG_NAME="binutils"
CT_BINUTILS_SRC_RELEASE=y
# CT_BINUTILS_SRC_DEVEL is not set
CT_BINUTILS_PATCH_ORDER="global"
CT_BINUTILS_V_2_40=y
# CT_BINUTILS_V_2_40 is not set
# CT_BINUTILS_V_2_39 is not set
# CT_BINUTILS_V_2_38 is not set
# CT_BINUTILS_V_2_37 is not set
CT_BINUTILS_V_2_37=y
# CT_BINUTILS_V_2_36 is not set
# CT_BINUTILS_V_2_35 is not set
# CT_BINUTILS_V_2_34 is not set
@ -370,14 +371,14 @@ CT_BINUTILS_V_2_40=y
# CT_BINUTILS_V_2_28 is not set
# CT_BINUTILS_V_2_27 is not set
# CT_BINUTILS_V_2_26 is not set
CT_BINUTILS_VERSION="2.40"
CT_BINUTILS_VERSION="2.37"
CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
CT_BINUTILS_later_than_2_39=y
CT_BINUTILS_2_39_or_later=y
CT_BINUTILS_2_39_or_older=y
CT_BINUTILS_older_than_2_39=y
CT_BINUTILS_later_than_2_30=y
CT_BINUTILS_2_30_or_later=y
CT_BINUTILS_later_than_2_27=y
@ -512,6 +513,7 @@ CT_GLIBC_SSP_DEFAULT=y
# CT_GLIBC_SSP_YES is not set
# CT_GLIBC_SSP_ALL is not set
# CT_GLIBC_SSP_STRONG is not set
CT_GLIBC_ENABLE_WERROR=y
# CT_GLIBC_ENABLE_COMMON_FLAG is not set
CT_ALL_LIBC_CHOICES="AVR_LIBC GLIBC MINGW_W64 MOXIEBOX MUSL NEWLIB NONE PICOLIBC UCLIBC_NG"
CT_LIBC_SUPPORT_THREADS_ANY=y
@ -554,22 +556,22 @@ CT_GCC_PKG_NAME="gcc"
CT_GCC_SRC_RELEASE=y
# CT_GCC_SRC_DEVEL is not set
CT_GCC_PATCH_ORDER="global"
CT_GCC_V_13=y
# CT_GCC_V_12 is not set
# CT_GCC_V_13 is not set
CT_GCC_V_12=y
# CT_GCC_V_11 is not set
# CT_GCC_V_10 is not set
# CT_GCC_V_9 is not set
# CT_GCC_V_8 is not set
# CT_GCC_V_7 is not set
# CT_GCC_V_6 is not set
CT_GCC_VERSION="13.2.0"
CT_GCC_VERSION="12.3.0"
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GCC_SIGNATURE_FORMAT=""
CT_GCC_later_than_13=y
CT_GCC_13_or_later=y
CT_GCC_13_or_older=y
CT_GCC_older_than_13=y
CT_GCC_later_than_12=y
CT_GCC_12_or_later=y
CT_GCC_later_than_11=y
@ -598,7 +600,7 @@ CT_CC_GCC_ENABLE_CXX_FLAGS=""
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=""
CT_CC_GCC_EXTRA_CONFIG_ARRAY=""
CT_CC_GCC_STATIC_LIBSTDCXX=y
CT_CC_GCC_SYSTEM_ZLIB=y
# CT_CC_GCC_SYSTEM_ZLIB is not set
CT_CC_GCC_CONFIG_TLS=m
#