-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathconfigure
More file actions
executable file
·57 lines (50 loc) · 1.87 KB
/
configure
File metadata and controls
executable file
·57 lines (50 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/sh
# Nothing to do
sudo apt-get update -qq
# install core development packages
sudo apt-get install -qq build-essential
sudo apt-get install -qq cmake
sudo apt-get install -qq lcov
sudo apt-get install -qq clang
sudo apt-get install -qq gcc
sudo apt-get install -qq libconfig-dev
sudo apt-get install -qq liblwip-dev
sudo apt-get install -qq mingw-w64
# install git
sudo apt-get install -qq git
# install source code format packages
sudo apt-get install -qq tofrodos
sudo apt-get install -qq clang-format
sudo apt-get install -qq clang-tools
sudo apt-get install -qq clang-tidy
sudo apt-get install -qq pre-commit
# install ARM compiler and debugging tools
sudo apt-get install -qq gcc-arm-none-eabi
sudo apt-get install -qq binutils-arm-none-eabi
sudo apt-get install -qq picolibc-arm-none-eabi
sudo apt-get install -qq gdb-multiarch
# install AVR compiler and debugging tools
sudo apt-get install -qq gcc-avr
sudo apt-get install -qq avarice
sudo apt-get install -qq avr-libc
sudo apt-get install -qq avrdude
sudo apt-get install -qq gdb-avr
sudo apt-get install -qq avrdude-doc
# install static analysis tools
sudo apt-get install -qq flawfinder
sudo apt-get install -qq cppcheck
sudo apt-get install -qq splint
sudo apt-get install -qq codespell
sudo apt-get install -qq sloccount
sudo apt-get install -qq complexity
sudo apt-get install -qq pmccabe
# install BACnet Secure Connect (BACnet/SC) dependencies
sudo apt-get install -qq libconfig-dev
sudo apt-get install -qq libcap-dev
sudo apt-get install -qq libssl-dev
sudo apt-get install -qq libuv1-dev
git clone --branch v4.3-stable https://github.com/warmcat/libwebsockets.git
bash -c 'cd libwebsockets;mkdir build;cd build;cmake .. -DLWS_WITH_LIBUV=ON -DLWS_WITH_MINIMAL_EXAMPLES=0 -DLWS_MAX_SMP=32 -DCMAKE_POLICY_VERSION_MINIMUM=3.5;make'
sudo bash -c 'cd libwebsockets;cd build;make install'
# all complete!
echo "🚀 ALL GOOD TO GO"