User:Zucca/wip/Safe CFLAGS - in table format

From Gentoo Wiki
< User:Zucca‎ | wip
Jump to: navigation, search

Safe CFLAGS - table format

This is my test if table format for the Safe CFLAGS -article could be usable.

Current draft.

Version 1

CPU Family
Common name
vendor_id cpu family model model name Safe CFLAGS
AMD
Ryzen 1700, 1700X, 1800X (Zen) AuthenticAMD 23 1 AMD Ryzen 7 1800X Eight-Core Processor
FILE /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver4 -pipe"
CXXFLAGS="${CFLAGS}"

This table needs lines seperating the columns so that it's easier to read.

Also I have no knowledge how to propely center the AMD there. All the suggestions are welcome. :)

Version 2

CPU Family
Common name
cpuinfo Safe CFLAGS


Notes if any
AMD
Ryzen (Zen)

1700 1700X 1800X

vendor_id	: AuthenticAMD
cpu family	: 23
model		: 1
model name	: AMD Ryzen 7 1800X Eight-Core Processor
FILE /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver4 -pipe"
CXXFLAGS="${CFLAGS}"
Note
This is a note about CFLAGS
Warning
But be warned - do not overoptimise!

I think this is better choice, as this format could be pulled off just by some awk magic for example. Also this is neater.