Skip to content

Commit

Permalink
gh-560: Add Windows PGO NoGIL builder (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
itamaro authored Nov 25, 2024
1 parent 6d61d21 commit d6a78bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions master/custom/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
Windows64BigmemBuild,
Windows64NoGilBuild,
Windows64PGOBuild,
Windows64PGONoGilBuild,
Windows64RefleakBuild,
Windows64ReleaseBuild,
MacOSArmWithBrewBuild,
Expand Down Expand Up @@ -223,6 +224,9 @@

# Windows MSVC
("AMD64 Windows PGO", "bolen-windows10", Windows64PGOBuild),

# Windows NoGIL
("AMD64 Windows PGO NoGIL", "itamaro-win64-srv-22-aws", Windows64PGONoGilBuild),
]


Expand Down
7 changes: 7 additions & 0 deletions master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,13 @@ class Windows64NoGilBuild(Windows64Build):
factory_tags = ["win64", "nogil"]


class Windows64PGONoGilBuild(Windows64PGOBuild):
buildersuffix = '.nogil.pgo'
buildFlags = Windows64PGOBuild.buildFlags + ["--disable-gil"]
testFlags = Windows64PGOBuild.testFlags + ["--disable-gil"]
factory_tags = ["win64", "nogil", "nondebug", "pgo"]


class WindowsARM64Build(BaseWindowsBuild):
buildFlags = ["-p", "ARM64"]
testFlags = ["-p", "ARM64", "-j2"]
Expand Down

0 comments on commit d6a78bb

Please sign in to comment.