mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 12:10:24 +00:00
ffc7b7dc4a
This pairs with the new default behavior to fetch and build libbpf and is mostly being used so we can use the latest bpftool and libbpf.
9 lines
188 B
Bash
9 lines
188 B
Bash
#!/bin/bash
|
|
|
|
cd $1
|
|
rm -rf bpftool
|
|
git clone --depth=1 https://github.com/libbpf/bpftool.git
|
|
cd bpftool
|
|
git fetch --depth=1 origin $2
|
|
git checkout $2
|
|
git submodule update --init --recursive |