You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce version_{eq,lt,lte,gt,gte} utils and refactor
Version checking is needed for tools, e.g., emcc, browser, and
black(python formatting tool). Thus, introduce and refactor with
version_{eq,lt,lte,gt,gte} utils for better readability and
maintainability (no more 'Pyramid of Doom' checking for MAJOR, MINOR and
PATCH).
SDL_MUSIC_CANNOT_PLAY_WARNING := Video games music might not be played. You may switch emcc to version $(SDL_MUSIC_PLAY_AT_EMCC_MAJOR).$(SDL_MUSIC_PLAY_AT_EMCC_MINOR).$(SDL_MUSIC_PLAY_AT_EMCC_PATCH)
MIMALLOC_UNSUPPORTED_WARNING := mimalloc is supported after version $(MIMALLOC_SUPPORT_SINCE_MAJOR).$(MIMALLOC_SUPPORT_SINCE_MINOR).$(MIMALLOC_SUPPORT_SINCE_PATCH)
Copy file name to clipboardExpand all lines: mk/wasm.mk
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -83,9 +83,10 @@ ifeq ($(UNAME_S),Darwin)
83
83
SAFARI_MAJOR :=
84
84
SAFARI_MINOR :=
85
85
SAFARI_VERSION_CHECK_CMD :=
86
-
SAFARI_SUPPORT_TCO_AT_MAJOR_MINOR := 18.2
86
+
SAFARI_SUPPORT_TCO_AT_MAJOR := 18
87
+
SAFARI_SUPPORT_TCO_AT_MINOR := 2
87
88
SAFARI_SUPPORT_TCO_INFO := Safari supports TCO, you can use Safari to request the wasm
88
-
SAFARI_NO_SUPPORT_TCO_WARNING := Safari not found or Safari must have at least version $(SAFARI_SUPPORT_TCO_AT_MAJOR_MINOR) to support TCO in wasm
89
+
SAFARI_NO_SUPPORT_TCO_WARNING := Safari not found or Safari must have at least version $(SAFARI_SUPPORT_TCO_AT_MAJOR).$(SAFARI_SUPPORT_TCO_AT_MINOR) to support TCO in wasm
0 commit comments