Skip to content

Commit 5886fb5

Browse files
authored
Revert "ci: circumvent AVX512 issue on GHA runners (#87)" (#88)
This reverts commit 6357c3e.
1 parent 4cff490 commit 5886fb5

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.bazelrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@ info --platforms=@platforms//host
66

77
common --platforms=@mojo_host_platform
88
common --host_platform=@mojo_host_platform
9-
10-
# HACK: Github Action runners using AMD EPYC CPUs have AVX512 disabled.
11-
# Mojo will happily generate those instructions, but then they crash at runtime.
12-
# Totally disable AVX512 to circumvent the issue.
13-
common:ci --//:mojo_copt=--target-features=-avx512f,-avx512bw,-avx512cd,-avx512dq,-avx512vl,-avx512ifma,-avx512vbmi,-avx512vbmi2,-avx512vnni,-avx512bitalg,-avx512vpopcntdq,-avx512fp16,-avx512bf16

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
- name: CPU Info
3636
run: |
3737
lscpu || true
38-
- run: bazel test --config=ci //...
38+
- run: bazel test //...

mojo/extensions.bzl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ load("//mojo:mojo_host_platform.bzl", "mojo_host_platform")
44
load("//mojo/private:mojo_gpu_toolchains_repository.bzl", "mojo_gpu_toolchains_repository")
55

66
_PLATFORMS = ["linux_aarch64", "linux_x86_64", "macos_arm64"]
7-
_DEFAULT_VERSION = "1.0.0b2.dev2026051806"
7+
_DEFAULT_VERSION = "1.0.0b2.dev2026060706"
88
_KNOWN_SHAS = {
9+
"1.0.0b2.dev2026060706": {
10+
"linux_aarch64": "ff57b49bb38eb832302a72d4f4c2f2c7553bf559ee5de2798daafb57a37877e8",
11+
"linux_x86_64": "e28b4b663cce73416507f957b54d2b4c96a7bd3f42bbe41ec74e8c0b6f93444c",
12+
"macos_arm64": "45261916bb30cfe16d2bd04bcfcf3ded8dca0934ec33b559316891a5217588e6",
13+
"mojo_compiler_mojo_libs": "4452a8ad98634178c0cae20799a41e385a306159f94b409955ac95e052dd9e55",
14+
},
915
"1.0.0b2.dev2026051806": {
1016
"linux_aarch64": "224c4c1590debdff509bde74ead2da7b3eef2bc052380627e824072fe18bef05",
1117
"linux_x86_64": "7775e0386cb564cfd09f34c74209b80fc5a5d43b5ac20e36e638032e0f0cd63a",

tests/python/python_shared_library.mojo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def PyInit_python_shared_library() -> PythonObject:
2121
abort(String("failed to create Python module: ", e))
2222

2323

24-
@export
25-
def mojo_count_args(py_self: PyObjectPtr, args: PyObjectPtr) -> PyObjectPtr:
24+
def mojo_count_args(py_self: PyObjectPtr, args: PyObjectPtr) abi("C") -> PyObjectPtr:
2625
ref cpython = Python().cpython()
2726

2827
var count = cpython.PyObject_Length(args)

0 commit comments

Comments
 (0)