static-php-cli icon indicating copy to clipboard operation
static-php-cli copied to clipboard

How to provide some compiler flags?

Open tricarte opened this issue 1 year ago • 1 comments

I want to do some benchmarks with compiler optimizations such as -O2 -march=native -pipe.

Is it possible to customize these flags? If it's possible, will it apply to all static extensions or just the final php binary?

Also, can we use Intel Profile Guided Optimization? The generated Makefile for PHP source code has PGO targets but I think spc does (can) not use it in any way.

Thanks in advance.

tricarte avatar Feb 10 '24 09:02 tricarte