I see a configure script in each of the linux-cachyos-* folders. it defines a function cpu_arch().
#!/usr/bin/bash
cpu_arch() {
plain ""
plain "#########################################"
plain "Set cpu microarchitecture optimization in GCC"
read -rp "`echo $' > 1) M486SX : Select this for an 486-class CPU without an FPU such as AMD/Cyrix/IBM/Intel SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5S.\n \
> 2) M486 : Select this for an 486-class CPU such as AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 and UMC U5D.\n \
> 3) M586 : Select this for an 586 or 686 series processor such as the AMD K5,the Cyrix 5x86, 6x86 and 6x86MX. This choice does not assume the RDTSC (Read Time Stamp Counter) instruction.\n \
> 4) M586TSC : Select this for a Pentium Classic processor with the RDTSC (Read Time Stamp Counter) instruction for benchmarking.\n \
...
What is this script resp. function being used for? I do not see where the script is being sourced. And where is the command plain coming from?
I see a
configure
script in each of thelinux-cachyos-*
folders. it defines a functioncpu_arch()
.What is this script resp. function being used for? I do not see where the script is being sourced. And where is the command
plain
coming from?