Skip to content

Commit

Permalink
[OpenFHE_int128] Initializing (#9769)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArseniyKholod authored Dec 3, 2024
1 parent 3350e2a commit 6a0f904
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions O/OpenFHE_int128/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The OpenFHE library works with both 64-bit and 128-bit integers.

This package builds the 128-bit version.

To build the default 64-bit version, use [OpenFHE](https://github.com/JuliaPackaging/Yggdrasil/tree/master/O/OpenFHE).

Most of the build steps for [OpenFHE](https://github.com/JuliaPackaging/Yggdrasil/tree/master/O/OpenFHE)
and OpenFHE_int128 are the same, so the shared parts are in the
[../OpenFHE/common.jl](https://github.com/JuliaPackaging/Yggdrasil/tree/master/O/OpenFHE/common.jl) script.
15 changes: 15 additions & 0 deletions O/OpenFHE_int128/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Note that this script can accept some limited command-line arguments, run
# `julia build_tarballs.jl --help` to see a usage message.
include(joinpath(pwd(), "..", "OpenFHE", "common.jl"))

# If you make changes in this file, e.g., to release a new version,
# be sure to also release a new version of `OpenFHE` as well (see `../OpenFHE/build_tarballs.jl`)
name = "OpenFHE_int128"
version = v"1.2.3"

git_hash = "7b8346f4eac27121543e36c17237b919e03ec058"

sources, script, platforms, products, dependencies = prepare_openfhe_build(name, git_hash)

# Build the tarballs, and possibly a `build.jl` as well.
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6", preferred_gcc_version = v"10.2.0")

0 comments on commit 6a0f904

Please sign in to comment.