Skip to content

Commit

Permalink
CI(OSGeo4W): Add -pipe to CFLAGS and CXXFLAGS to reduce build time (O…
Browse files Browse the repository at this point in the history
…SGeo#4326)

With the current GitHub Hosted runners, the build step time is reduced by about 2 minutes, down to about 8min30 instead of about 10min30, for the couple builds I observed
  • Loading branch information
echoix authored Sep 16, 2024
1 parent 63a80f5 commit d0f1634
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ jobs:

- name: Compile GRASS GIS
shell: msys2 {0}
run: .github/workflows/build_osgeo4w.sh
run: |
export CFLAGS="${CFLAGS} -pipe"
export CXXFLAGS="${CXXFLAGS} -pipe"
.github/workflows/build_osgeo4w.sh
- name: Print installed versions
if: always()
Expand Down

0 comments on commit d0f1634

Please sign in to comment.