From 8c849165981304a23a460a332da3abaefefb4c44 Mon Sep 17 00:00:00 2001 From: Alex Trotta Date: Fri, 22 May 2026 12:53:02 -0400 Subject: [PATCH 1/4] Revert "ci: circumvent AVX512 issue on GHA runners (#87)" This reverts commit 6357c3eb7b60d27c8da55247784aae121213109c. --- .bazelrc | 5 ----- .github/workflows/ci.yaml | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.bazelrc b/.bazelrc index f951763..e0087b2 100644 --- a/.bazelrc +++ b/.bazelrc @@ -6,8 +6,3 @@ info --platforms=@platforms//host common --platforms=@mojo_host_platform common --host_platform=@mojo_host_platform - -# HACK: Github Action runners using AMD EPYC CPUs have AVX512 disabled. -# Mojo will happily generate those instructions, but then they crash at runtime. -# Totally disable AVX512 to circumvent the issue. -common:ci --//:mojo_copt=--target-features=-avx512f,-avx512bw,-avx512cd,-avx512dq,-avx512vl,-avx512ifma,-avx512vbmi,-avx512vbmi2,-avx512vnni,-avx512bitalg,-avx512vpopcntdq,-avx512fp16,-avx512bf16 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e00dbcd..1815eba 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,4 @@ jobs: run: | bazel version bazel info - - name: CPU Info - run: | - lscpu || true - - run: bazel test --config=ci //... + - run: bazel test //... From c931a3014fd7787d8ea3a431b4b3e8f1a055785e Mon Sep 17 00:00:00 2001 From: Alex Trotta Date: Fri, 22 May 2026 12:59:32 -0400 Subject: [PATCH 2/4] bump version --- mojo/extensions.bzl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mojo/extensions.bzl b/mojo/extensions.bzl index 6eac447..ba59e50 100644 --- a/mojo/extensions.bzl +++ b/mojo/extensions.bzl @@ -4,8 +4,14 @@ load("//mojo:mojo_host_platform.bzl", "mojo_host_platform") load("//mojo/private:mojo_gpu_toolchains_repository.bzl", "mojo_gpu_toolchains_repository") _PLATFORMS = ["linux_aarch64", "linux_x86_64", "macos_arm64"] -_DEFAULT_VERSION = "1.0.0b2.dev2026051806" +_DEFAULT_VERSION = "1.0.0b2.dev2026052215" _KNOWN_SHAS = { + "1.0.0b2.dev2026052215": { + "linux_aarch64": "328f9d3349ffc15ea4e0b77e29acdaf4cbb5dc86fcadb2b5e6ffef5d512697b8", + "linux_x86_64": "972f51fec8402689f6ad4e131190c549d981561b779927f1f9e1fc1398d2dd6d", + "macos_arm64": "a577219a8bcd77fe146090947ebf4a5c716d6d530faa7612b436b80e4e3f070a", + "mojo_compiler_mojo_libs": "b75be5b5eff2aba892df2f555a80bd7a7b9e7210b2c52c52b1158e69a8c5a4dd", + }, "1.0.0b2.dev2026051806": { "linux_aarch64": "224c4c1590debdff509bde74ead2da7b3eef2bc052380627e824072fe18bef05", "linux_x86_64": "7775e0386cb564cfd09f34c74209b80fc5a5d43b5ac20e36e638032e0f0cd63a", From 2803346df3020fcaa4a6a5b875b1f961c4cf458d Mon Sep 17 00:00:00 2001 From: Alex Trotta Date: Fri, 22 May 2026 13:00:29 -0400 Subject: [PATCH 3/4] keep the cpu info --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1815eba..415f552 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,4 +32,7 @@ jobs: run: | bazel version bazel info + - name: CPU Info + run: | + lscpu || true - run: bazel test //... From 4d93547ca8ab227f576d63585cf2dd04808c8f5d Mon Sep 17 00:00:00 2001 From: Alex Trotta Date: Fri, 22 May 2026 13:15:09 -0400 Subject: [PATCH 4/4] fix example --- tests/python/python_shared_library.mojo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/python/python_shared_library.mojo b/tests/python/python_shared_library.mojo index 53eca3b..136827a 100644 --- a/tests/python/python_shared_library.mojo +++ b/tests/python/python_shared_library.mojo @@ -21,8 +21,7 @@ def PyInit_python_shared_library() -> PythonObject: abort(String("failed to create Python module: ", e)) -@export -def mojo_count_args(py_self: PyObjectPtr, args: PyObjectPtr) -> PyObjectPtr: +def mojo_count_args(py_self: PyObjectPtr, args: PyObjectPtr) abi("C") -> PyObjectPtr: ref cpython = Python().cpython() var count = cpython.PyObject_Length(args)