Policy on processor-dependent optimizations?

2021-07-26 Thread openbsd
Hi, I'm porting marisa-tire[0] now, it is a C++ implementation of MARISA (Matching Algorithm with Recursively Implemented StorAge) trie data structure. It offers a configure flag --enable-native-code for detecting and enabling processor-dependent optimizations which I'm not sure if I should us

Re: Policy on processor-dependent optimizations?

2021-07-26 Thread Stuart Henderson
On 2021/07/26 13:19, openbsd wrote: > Hi, > > I'm porting marisa-tire[0] now, it is a C++ implementation of MARISA > (Matching Algorithm with Recursively Implemented StorAge) trie data > structure. It offers a configure flag --enable-native-code for detecting > and enabling processor-dependent

Re: Policy on processor-dependent optimizations?

2021-07-30 Thread openbsd
On 21/07/26 02:36PM, Stuart Henderson wrote: > Ports must not use cpu features detected at build time in the default > build. > > In some special cases it might make sense to have a "native" flavour > that is not linked to the build by default (i.e. so packages are not > normally built) as long as