This repository contains the scripts that produce the libraries included with esp32-arduino.
Tested on Ubuntu (32 and 64 bit), Raspberry Pi and MacOS.
sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python3 python3-pip python3-setuptools python3-serial python3-click python3-cryptography python3-future python3-pyparsing python3-pyelftools python3-venv cmake ninja-build ccache jq
sudo pip3 install --upgrade pip
git clone https://github.com/espressif/esp32-arduino-lib-builder
cd esp32-arduino-lib-builder
./build.sh