Skip to content

Commit

Permalink
Add build instructions for x86 and aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
jimouris committed Feb 21, 2024
1 parent 8274ee0 commit 7b9d705
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ license = "MIT"

[dependencies]
rayon = "1.7.0"
tfhe = { version = "0.5.1", features = ["boolean", "shortint", "integer", "x86_64-unix"] }
tfhe = { version = "0.5.1", features = ["boolean", "shortint", "integer"] }
linfa-datasets = { version = "0.7", features = ["iris", "winequality"] }
csv = "1.3"

[features]
x86 = ["tfhe/x86_64-unix"]
aarch64 = ["tfhe/aarch64-unix"]

[[bin]]
name = "plain_lr"
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@
<a href="https://github.com/nillion-oss/fhe-lut/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
</h1>

# ...
# Building

For `x86_64`-based machines running Unix-like OSes:
```bash
❯❯ cargo b --release --features x86
```

For Apple Silicon or `aarch64`-based machines (e.g., Apple M2) running Unix-like OSes:
```bash
❯❯ cargo b --release --features aarch64
```

# Running

...

## Disclaimer
This is software for a research prototype and not production-ready code.

0 comments on commit 7b9d705

Please sign in to comment.