Created
April 29, 2019 17:08
-
-
Save mabnhdev/42d4775f51df4bbe675ce0a0c9c4c4b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Repoduce boost build failure x86_64 x32 ABI in thud | |
BASEDIR=$(realpath $HOME) | |
PROJDIR=$BASEDIR/boost-issue-x32-repro | |
BRANCH=thud | |
[ -e $PROJDIR ] || git -C $BASEDIR clone git://git.yoctoproject.org/poky $PROJDIR -b $BRANCH | |
[ -e $PROJDIR/meta-intel ] || git -C $PROJDIR clone git://git.yoctoproject.org/meta-intel -b $BRANCH | |
cd $PROJDIR | |
. oe-init-build-env | |
grep meta-intel conf/bblayers.conf || bitbake-layers add-layer $PROJDIR/meta-intel | |
grep corei7 conf/local.conf || echo 'MACHINE = "intel-corei7-64"' >> conf/local.conf | |
grep x86-64-x32 conf/local.conf || echo 'DEFAULTTUNE = "x86-64-x32"' >> conf/local.conf | |
bitbake boost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment