gitlab: disable optimization and debug symbols in msys build
commit63f5365cd4a86b3e1311093c01e9ab01b37acee0
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 1 Aug 2023 13:04:02 +0000 (1 14:04 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 3 Aug 2023 11:04:48 +0000 (3 13:04 +0200)
tree0d84893fafc0b0c92844592486e909b45c76e940
parentff136d2a99253483f263371bb7b479d2278d9401
gitlab: disable optimization and debug symbols in msys build

Building at -O2, adds 33% to the build time, over -O2. IOW a build that
takes 45 minutes at -O0, takes 60 minutes at -O2. Turning off debug
symbols drops it further, down to 38 minutes.

IOW, a "-O2 -g" build is 58% slower than a "-O0" build on msys in the
gitlab CI windows shared runners.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230801130403.164060-8-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/windows.yml