File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 ps aux | grep -v grep | grep " platform=${platform} " > /dev/null \
2020 && printf " %30s\n" " already building" \
2121 && continue
22- for flag in cpu tune
22+ for flag in arch cpu tune
2323 do
2424 (docker run --platform=${platform} -it --rm gcc:latest g++ -m${flag} =native -Q --help=target 2>&1 || echo " ${flag} failed" ) > ${LOG_BASE} _m${flag} .txt
25+ printf " %8s=%d" " ${flag} " " $? "
2526 done
27+ # (docker run --platform=${platform} -it --rm debian:trixie-slim /bin/bash -c 'apt update && apt install -y g++ && g++ -mtune=native -Q --help=target 2>&1' || echo "tune failed") > ${LOG_BASE}_mtune.txt
28+ # (docker run --platform=${platform} -it --rm debian:trixie-slim /bin/bash -c 'apt update && apt install -y g++ && g++ -mcpu=native -Q --help=target 2>&1' || echo "cpu failed") > ${LOG_BASE}_mcpu.txt
29+ # (docker run --platform=${platform} -it --rm debian:trixie-slim /bin/bash -c 'apt update && apt install -y g++ && g++ -march=native -Q --help=target 2>&1' || echo "arch failed") > ${LOG_BASE}_march.txt
2630 target=firestarr
2731 log=${LOG_BASE} _${target} .log
2832 docker build --progress=plain --platform=${platform} --target ${target} -t ${target} -f .docker/Dockerfile . & > ${log}
You can’t perform that action at this time.
0 commit comments