Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- name: CPU Info
run: |
lscpu || true
- run: bazel test --config=ci //...
- run: bazel test //...
8 changes: 7 additions & 1 deletion mojo/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions tests/python/python_shared_library.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading