Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions master/custom/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
Windows64BigmemBuild,
Windows64NoGilBuild,
Windows64PGOBuild,
Windows64PGOTailcallBuild,
Windows64PGONoGilBuild,
Windows64PGONoGilTailcallBuild,
Windows64RefleakBuild,
Windows64ReleaseBuild,
MacOSArmWithBrewBuild,
Expand Down Expand Up @@ -91,7 +93,9 @@
("AMD64 Windows11 Non-Debug", "ware-win11", Windows64ReleaseBuild),
("AMD64 Windows11 Refleaks", "ware-win11", Windows64RefleakBuild),
("AMD64 Windows Server 2022 NoGIL", "itamaro-win64-srv-22-aws", Windows64NoGilBuild),
("AMD64 Windows PGO Tailcall", "itamaro-win64-srv-22-aws", Windows64PGOTailcallBuild),
("AMD64 Windows PGO NoGIL", "itamaro-win64-srv-22-aws", Windows64PGONoGilBuild),
("AMD64 Windows PGO NoGIL Tailcall", "itamaro-win64-srv-22-aws", Windows64PGONoGilTailcallBuild),
]


Expand Down
14 changes: 13 additions & 1 deletion master/custom/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,13 +686,19 @@ class Windows64ReleaseBuild(Windows64Build):
factory_tags = ["win64", "nondebug"]


class Windows64PGOBuild(Windows64ReleaseBuild):
class Windows64PGOBuild(Windows64Build):
buildersuffix = ".pgo"
buildFlags = Windows64Build.buildFlags + ["--pgo"]
testFlags = [*Windows64Build.testFlags, "+d"]
factory_tags = ["win64", "nondebug", "pgo"]


class Windows64PGOTailcallBuild(Windows64PGOBuild):
buildersuffix = ".tailcall.pgo"
buildFlags = Windows64PGOBuild.buildFlags + ["--tail-call-interp"]
factory_tags = Windows64PGOBuild.factory_tags + ["tailcall"]


class Windows64NoGilBuild(Windows64Build):
buildersuffix = '.x64.nogil'
buildFlags = Windows64Build.buildFlags + ["--disable-gil"]
Expand All @@ -707,6 +713,12 @@ class Windows64PGONoGilBuild(Windows64PGOBuild):
factory_tags = ["win64", "nogil", "nondebug", "pgo"]


class Windows64PGONoGilTailcallBuild(Windows64PGONoGilBuild):
buildersuffix = '.nogil.tailcall.pgo'
buildFlags = Windows64PGONoGilBuild.buildFlags + ["--tail-call-interp"]
factory_tags = Windows64PGONoGilBuild.factory_tags + ["tailcall"]


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