Skip to content

Commit a83098e

Browse files
authored
Update README.md (#119)
1 parent 4d9fa39 commit a83098e

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Add the following code to WORKSPACE file:
2020
```
2121
http_archive(
2222
name = "rules_ml_toolchain",
23-
sha256 = "998d8b2c12ae0020798e3898e13dfd8e47bde66138b65944498efe7464a3d51f",
24-
strip_prefix = "rules_ml_toolchain-d4eb49253d98134df1722ce70b1f4294aa683036",
23+
sha256 = "dd6035b2aa22ec22c7598c0c78d1f593a74606d787d1059d19ab0f9b581e513d",
24+
strip_prefix = "rules_ml_toolchain-4d9fa39eda9c769db86770a13ce2c2e2090bced8",
2525
urls = [
26-
"https://github.com/google-ml-infra/rules_ml_toolchain/archive/d4eb49253d98134df1722ce70b1f4294aa683036.tar.gz",
26+
"https://github.com/google-ml-infra/rules_ml_toolchain/archive/4d9fa39eda9c769db86770a13ce2c2e2090bced8.tar.gz",
2727
],
2828
)
2929
@@ -63,20 +63,24 @@ build:linux --repo_env=LLVM_VERSION=20
6363
build:linux --repo_env=SYSROOT_DIST=linux_glibc_2_31
6464
```
6565

66-
Supported versions of LLVM are:
67-
* Linux x86_64 LLVM `18` / `19` / `20` / `21`
68-
* Linux aarch64 LLVM `18` / `20`
69-
* macOS aarch64 LLVM `18` / `20` - *In Development*
66+
Supported versions of LLVM
7067

71-
Available sysroots are:
68+
| Version | Execution OS |
69+
|---------|---------------------------------------|
70+
| 18 | Linux x86_64 / aarch64, macOS aarch64 |
71+
| 19 | Linux x86_64 |
72+
| 20 | Linux x86_64 / aarch64 |
73+
| 21 | Linux x86_64 |
7274

73-
| Name | Supported Arch. | GCC | GLIBC | C++ Standard | Used OS |
75+
Available sysroots
76+
77+
| Name | Architecture | GCC | GLIBC | C++ Standard | Used OS |
7478
|------------------|-----------------|--------|-------|-----------------------|--------------|
7579
| linux_glibc_2_27 | x86_64, aarch64 | GCC 8 | 2.27 | C++17 | Ubuntu 18.04 |
7680
| linux_glibc_2_31 | x86_64, aarch64 | GCC 10 | 2.31 | C++20 | Ubuntu 20.04 |
7781
| linux_glibc_2_35 | x86_64 | GCC 12 | 2.35 | C++23 partial support | Ubuntu 22.04 |
7882

79-
## How to run this project tests
83+
## Run rules_ml_toolchain tests
8084
### CPU hermetic tests
8185
Project supports CPU hermetic builds on:
8286
* Linux x86_64 / aarch64

cc/deps/cc_toolchain_deps.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def cc_toolchain_deps():
7979
)
8080

8181
if "sysroot_linux_x86_64_glibc_2_35" not in native.existing_rules():
82-
# C++20 / C++23, manylinux_2_35, gcc-12
82+
# C++20 / C++23 partial support, manylinux_2_35, gcc-12
8383
mirrored_http_archive(
8484
name = "sysroot_linux_x86_64_glibc_2_35",
8585
sha256 = "a24665b464d8d1e2235690dd77f8a5fd2d7f717afe83208635ae1b25ef5874bf",

0 commit comments

Comments
 (0)