0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-05 22:15:32 +00:00

build(deps): add bison and flex ()

This commit is contained in:
Ilya Mashchenko 2024-12-28 18:09:13 +02:00 committed by GitHub
parent fba8924a69
commit 080de4e4a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 35 additions and 0 deletions

View file

@ -9,10 +9,12 @@ DONT_WAIT=0
package_tree=" package_tree="
alpine-sdk alpine-sdk
bison
cmake cmake
coreutils coreutils
curl curl
elfutils-dev elfutils-dev
flex
g++ g++
gcc gcc
git git

View file

@ -9,8 +9,10 @@ DONT_WAIT=0
declare -a package_tree=( declare -a package_tree=(
binutils binutils
bison
cmake cmake
curl curl
flex
gcc gcc
git git
gzip gzip

View file

@ -5,10 +5,12 @@
set -e set -e
declare -a package_tree=( declare -a package_tree=(
bison
cmake cmake
curl curl
elfutils-libelf-devel elfutils-libelf-devel
findutils findutils
flex
gcc gcc
gcc-c++ gcc-c++
git git

View file

@ -8,6 +8,7 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
declare -a package_tree=( declare -a package_tree=(
bison
c-basic c-basic
curl curl
devpkg-elfutils devpkg-elfutils
@ -19,6 +20,7 @@ declare -a package_tree=(
devpkg-util-linux devpkg-util-linux
devpkg-zlib devpkg-zlib
findutils findutils
flex
git git
gzip gzip
make make

View file

@ -8,8 +8,10 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
package_tree=" package_tree="
bison
cmake cmake
curl curl
flex
g++ g++
gcc gcc
git git

View file

@ -18,10 +18,12 @@ os_version() {
} }
declare -a package_tree=( declare -a package_tree=(
bison
cmake cmake
curl curl
elfutils-libelf-devel elfutils-libelf-devel
findutils findutils
flex
gcc gcc
gcc-c++ gcc-c++
git git

View file

@ -8,9 +8,11 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
package_tree=" package_tree="
bison
cmake cmake
curl curl
e2fsprogs-libuuid e2fsprogs-libuuid
flex
git git
gzip gzip
json-c json-c

View file

@ -22,6 +22,8 @@ package_tree="
net-misc/curl net-misc/curl
sys-apps/findutils sys-apps/findutils
sys-apps/util-linux sys-apps/util-linux
sys-devel/bison
sys-devel/flex
sys-devel/gcc sys-devel/gcc
sys-devel/make sys-devel/make
virtual/libelf virtual/libelf

View file

@ -8,9 +8,11 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
declare -a package_tree=( declare -a package_tree=(
bison
cmake cmake
curl curl
elfutils-libelf-devel elfutils-libelf-devel
flex
gcc gcc
gcc-c++ gcc-c++
git git

View file

@ -10,8 +10,10 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
declare -a package_tree=( declare -a package_tree=(
bison
cmake cmake
curl curl
flex
gcc gcc
gcc-c++ gcc-c++
git git

View file

@ -8,10 +8,12 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
declare -a package_tree=( declare -a package_tree=(
bison
cmake cmake
curl curl
elfutils-libelf-devel elfutils-libelf-devel
findutils findutils
flex
gcc gcc
gcc-c++ gcc-c++
git git

View file

@ -8,8 +8,10 @@ NON_INTERACTIVE=0
DONT_WAIT=0 DONT_WAIT=0
package_tree=" package_tree="
bison
cmake cmake
curl curl
flex
g++ g++
gcc gcc
git git

View file

@ -637,6 +637,14 @@ declare -A pkg_distro_sdk=(
['default']="NOTREQUIRED" ['default']="NOTREQUIRED"
) )
# bison and flex are required by libsensors
declare -A pkg_bison=(
['default']="bison"
)
declare -A pkg_flex=(
['default']="flex"
)
declare -A pkg_coreutils=( declare -A pkg_coreutils=(
['alpine']="coreutils" ['alpine']="coreutils"
['default']="NOTREQUIRED" ['default']="NOTREQUIRED"
@ -1221,6 +1229,9 @@ packages() {
require_cmd cmake || suitable_package cmake require_cmd cmake || suitable_package cmake
require_cmd make || suitable_package make require_cmd make || suitable_package make
require_cmd flex || suitable_package flex
require_cmd bison || suitable_package bison
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# debugging tools for development # debugging tools for development