Skip to content

Commit 58ee158

Browse files
committed
pgo-training: Pass ARCHS to the makefile
If ARCHS itself was set by the caller, it would already have been implicitly passed to the makefile - but if the caller set TOOLCHAIN_ARCHS instead, that wasn't acted upon by the makefile. As the shell script already has the logic for initializing this (in the same fashion as all other shell scripts), just use that and pass the value on to the makefile.
1 parent 4ae8f04 commit 58ee158

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pgo-training.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if [ ! -d $SQLITE ]; then
5555
fi
5656

5757
rm -rf "$LLVM_PROFILE_DATA_DIR"
58+
export ARCHS
5859
$MAKE -f pgo-training.make PREFIX=$PREFIX STAGE1=$STAGE1 SQLITE=$SQLITE clean
5960
$MAKE -f pgo-training.make PREFIX=$PREFIX STAGE1=$STAGE1 SQLITE=$SQLITE -j$CORES
6061

0 commit comments

Comments
 (0)