mesa-git build script for latest panfrost
#17
I recommend adding "set -e" to the top of the script, so that e.g. a failure to cd to $DEVDIR won't result in mesa getting plopped into the working directory. ("set -e" is good shell scripting practice in general.) Also, I recommend replacing:

Code:
git clone --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git

with:

Code:
test -d mesa || git clone --depth=1 https://gitlab.freedesktop.org/mesa/mesa.git

so that it won't try to clone mesa if it's already been cloned.

Neither of these are major issues, and apart from the inevitable "what packages are actually needed" problem any script like this will face, this seems pretty good.


Messages In This Thread
RE: mesa-git build script for latest panfrost on pbp - by Solra Bizna - 01-31-2020, 01:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  kernel build script for latest mainline manjaro kernel xmixahlx 42 59,007 07-11-2020, 09:01 PM
Last Post: xmixahlx
  sway-git build script for latest wayland wm xmixahlx 2 5,497 03-27-2020, 02:46 PM
Last Post: xmixahlx
  openarena build script xmixahlx 4 6,727 03-20-2020, 10:25 PM
Last Post: xmixahlx
  i3blocks Manjaro battery status script Gerhard 0 2,940 01-05-2020, 02:35 PM
Last Post: Gerhard

Forum Jump:


Users browsing this thread: 1 Guest(s)