To begin, I completely reorganized the script into three sections: 1) variables 2) functions and 3) execution. No code is executed before execution, logic occurs only in variables, and functions are defined before they are needed.
I changed the way the script handles $XARCH. Instead of having to modify the script, it can now be passed as an argument: ie ./mussel.sh i686 will build an i686-musl toolchain.
A usage appears when you execute ./mussel.sh -h or ./mussel --help
An optional --fast flag was added so once we know targets can be built, we don't have to build each source individually, and instead, utilize every thread a machine has available.
log.txt which will redirect the stdout and stderr of make, patch, and configure to it to clean up the console. Will also make it easier for debugging as environmental variables are stored as well.
aarch64 (ARMv8-A) support has been added thanks to your efforts of getting i686 (and static libgcc) working.
I modified how text will appear on the console, so now an operation that was once loading will appear as (blue).. instead of (green)=>. Also (red)!! for errors and (yellow)!. for warnings. Little cosmetic things that you don't have to keep if you don't like it.
Made some changes to the README to reflect the changes I've made
Hope you like the changes, I'm going to bed. That's all folks.
I should note this will break Travis, but has been tested against every architecture available on my personal build server, and all builds have worked.
So I had a bit of a productive night....
$XARCH
. Instead of having to modify the script, it can now be passed as an argument: ie./mussel.sh i686
will build an i686-musl toolchain../mussel.sh -h
or./mussel --help
--fast
flag was added so once we know targets can be built, we don't have to build each source individually, and instead, utilize every thread a machine has available.log.txt
which will redirect the stdout and stderr ofmake
,patch
, andconfigure
to it to clean up the console. Will also make it easier for debugging as environmental variables are stored as well.(blue)..
instead of(green)=>
. Also(red)!!
for errors and(yellow)!.
for warnings. Little cosmetic things that you don't have to keep if you don't like it.Hope you like the changes, I'm going to bed. That's all folks.