This repository contains the scripts that produce the libraries included with esp32-arduino.
Tested on Ubuntu (32 and 64 bit), Raspberry Pi and MacOS.
git clone -b release/v2.0.13 https://github.com/esp-arduino-libs/esp32-arduino-lib-builder.git
cd esp32-arduino-lib-builder
// Build all targets
./build.sh
// Build specific targets, e.g. ESP32-S3
./build.sh -t esp32s3