@@ -121,41 +121,41 @@ def emscripten_deps(emscripten_version = "latest"):
121
121
http_archive (
122
122
name = "emscripten_bin_linux" ,
123
123
strip_prefix = "install" ,
124
- url = emscripten_url .format ("linux" , revision .hash , "" , "tbz2 " ),
124
+ url = emscripten_url .format ("linux" , revision .hash , "" , "tar.xz " ),
125
125
sha256 = revision .sha_linux ,
126
126
build_file_content = BUILD_FILE_CONTENT_TEMPLATE .format (bin_extension = "" ),
127
- type = "tar.bz2 " ,
127
+ type = "tar.xz " ,
128
128
)
129
129
130
130
if "emscripten_bin_linux_arm64" not in excludes :
131
131
http_archive (
132
132
name = "emscripten_bin_linux_arm64" ,
133
133
strip_prefix = "install" ,
134
- url = emscripten_url .format ("linux" , revision .hash , "-arm64" , "tbz2 " ),
134
+ url = emscripten_url .format ("linux" , revision .hash , "-arm64" , "tar.xz " ),
135
135
# Not all versions have a linux/arm64 release: https://github.com/emscripten-core/emsdk/issues/547
136
136
sha256 = getattr (revision , "sha_linux_arm64" , None ),
137
137
build_file_content = BUILD_FILE_CONTENT_TEMPLATE .format (bin_extension = "" ),
138
- type = "tar.bz2 " ,
138
+ type = "tar.xz " ,
139
139
)
140
140
141
141
if "emscripten_bin_mac" not in excludes :
142
142
http_archive (
143
143
name = "emscripten_bin_mac" ,
144
144
strip_prefix = "install" ,
145
- url = emscripten_url .format ("mac" , revision .hash , "" , "tbz2 " ),
145
+ url = emscripten_url .format ("mac" , revision .hash , "" , "tar.xz " ),
146
146
sha256 = revision .sha_mac ,
147
147
build_file_content = BUILD_FILE_CONTENT_TEMPLATE .format (bin_extension = "" ),
148
- type = "tar.bz2 " ,
148
+ type = "tar.xz " ,
149
149
)
150
150
151
151
if "emscripten_bin_mac_arm64" not in excludes :
152
152
http_archive (
153
153
name = "emscripten_bin_mac_arm64" ,
154
154
strip_prefix = "install" ,
155
- url = emscripten_url .format ("mac" , revision .hash , "-arm64" , "tbz2 " ),
155
+ url = emscripten_url .format ("mac" , revision .hash , "-arm64" , "tar.xz " ),
156
156
sha256 = revision .sha_mac_arm64 ,
157
157
build_file_content = BUILD_FILE_CONTENT_TEMPLATE .format (bin_extension = "" ),
158
- type = "tar.bz2 " ,
158
+ type = "tar.xz " ,
159
159
)
160
160
161
161
if "emscripten_bin_win" not in excludes :
0 commit comments