libdpf/thirdparty/simde/test/download-sde.sh
Ryan Henry e4e666f459 Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 14:08:32 -06:00

9 lines
330 B
Bash
Executable file

#!/bin/sh
URL="$(curl -sL 'https://www.intel.com/content/www/us/en/download/684897/intel-software-development-emulator.html' | \
grep -oP '(?<=data\-href=")(https://[^\"]+)/sde-external-([0-9\.\-]+)-lin.tar.xz' | head -n1)"
if [ ! -e "$1" ]; then
mkdir -p "$1"
fi
curl -sL "${URL}" | \
tar --strip-components 1 -JxC "$1"