File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 2323 run : |
2424 apt-get update
2525 apt-get install -y sudo
26- sudo apt-get -y install git curl bzip2
26+ export DEBIAN_FRONTEND=noninteractive
27+ sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime
28+ echo "tzdata tzdata/Areas select Etc" | sudo debconf-set-selections
29+ echo "tzdata tzdata/Zones/Etc select UTC" | sudo debconf-set-selections
30+ sudo apt-get -y install git curl bzip2 python3-tk tcl tk
31+
32+ - name : Set Tcl/Tk Paths
33+ run : |
34+ echo "TCL_LIBRARY=$(find /usr/lib/ -name 'tcl8*' | head -n 1)" >> $GITHUB_ENV
35+ echo "TK_LIBRARY=$(find /usr/lib/ -name 'tk8*' | head -n 1)" >> $GITHUB_ENV
2736
2837 - name : Build
2938 id : make_build
Original file line number Diff line number Diff line change 2323 run : |
2424 apt-get update
2525 apt-get install -y sudo
26- sudo apt-get -y install git curl bzip2
26+ export DEBIAN_FRONTEND=noninteractive
27+ sudo ln -fs /usr/share/zoneinfo/UTC /etc/localtime
28+ echo "tzdata tzdata/Areas select Etc" | sudo debconf-set-selections
29+ echo "tzdata tzdata/Zones/Etc select UTC" | sudo debconf-set-selections
30+ sudo apt-get -y install git curl bzip2 python3-tk tcl tk
31+
32+ - name : Set Tcl/Tk Paths
33+ run : |
34+ echo "TCL_LIBRARY=$(find /usr/lib/ -name 'tcl8*' | head -n 1)" >> $GITHUB_ENV
35+ echo "TK_LIBRARY=$(find /usr/lib/ -name 'tk8*' | head -n 1)" >> $GITHUB_ENV
2736
2837 - name : Build
2938 id : make_build
Original file line number Diff line number Diff line change @@ -384,6 +384,9 @@ def get_default_threads():
384384 processor = platform .processor ()
385385 if 'Intel' in processor :
386386 default_threads = (8 if default_threads > 8 else default_threads ) #this helps avoid e-cores.
387+ if default_threads > 48 :
388+ print (f"Auto CPU Threads capped at 48 (instead of { default_threads } ). You can override this by passing an explicit number of --threads." )
389+ default_threads = 48
387390 return default_threads
388391
389392def pick_existant_file (ntoption ,nonntoption ):
You can’t perform that action at this time.
0 commit comments