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..415f552 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,4 +35,4 @@ jobs: - name: CPU Info run: | lscpu || true - - run: bazel test --config=ci //... + - run: bazel test //... diff --git a/mojo/extensions.bzl b/mojo/extensions.bzl index 6eac447..4ecccdd 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.dev2026060706" _KNOWN_SHAS = { + "1.0.0b2.dev2026060706": { + "linux_aarch64": "ff57b49bb38eb832302a72d4f4c2f2c7553bf559ee5de2798daafb57a37877e8", + "linux_x86_64": "e28b4b663cce73416507f957b54d2b4c96a7bd3f42bbe41ec74e8c0b6f93444c", + "macos_arm64": "45261916bb30cfe16d2bd04bcfcf3ded8dca0934ec33b559316891a5217588e6", + "mojo_compiler_mojo_libs": "4452a8ad98634178c0cae20799a41e385a306159f94b409955ac95e052dd9e55", + }, "1.0.0b2.dev2026051806": { "linux_aarch64": "224c4c1590debdff509bde74ead2da7b3eef2bc052380627e824072fe18bef05", "linux_x86_64": "7775e0386cb564cfd09f34c74209b80fc5a5d43b5ac20e36e638032e0f0cd63a", 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)