-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathtest.toml
69 lines (62 loc) · 2.17 KB
/
test.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright (C) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
[[hexl]]
skip = false
version = "1.2.1"
name = "1.2.1"
fetch = "git clone https://github.com/intel/hexl.git --branch %version%"
init_fetch_dir = "fetch"
init_build_dir = "build"
init_install_dir = "build"
pre-build = """cmake -S %init_fetch_dir%/hexl -B %init_build_dir%
-DCMAKE_INSTALL_PREFIX=%export_install_dir%"""
build = "cmake --build %init_build_dir% -j"
install = "cmake --install %init_install_dir%"
export_install_dir = "install"
export_cmake = "install/lib/cmake/hexl-%version%"
[[hexl]]
skip = false
version = "1.2.2"
name = "1.2.2"
fetch = "git clone https://github.com/intel/hexl.git --branch %version%"
init_fetch_dir = "fetch"
init_build_dir = "build"
init_install_dir = "build"
pre-build = """cmake -S %init_fetch_dir%/hexl -B %init_build_dir%
-DCMAKE_INSTALL_PREFIX=%export_install_dir%"""
build = "cmake --build %init_build_dir% -j"
install = "cmake --install %init_install_dir%"
export_install_dir = "install"
export_cmake = "install/lib/cmake/hexl-%version%"
[[ntl]]
skip = false
version = "11.5.1"
name = "11.5.1"
init_fetch_dir = "fetch"
init_pre_build_dir = "build"
init_build_dir = "build/ntl-%version%/src"
init_install_dir = "build/ntl-%version%/src"
export_install_dir = "install"
fetch = "wget https://libntl.org/ntl-%version%.tar.gz"
post-fetch = "bash -c 'tar -xvf %init_fetch_dir%/ntl-%version%.tar.gz -C %init_pre_build_dir%'"
build = "bash -c './configure PREFIX=%export_install_dir% && make -j'"
install = "make install"
[[helib]]
skip = false
version = "2.2.0"
name = "v2.2.0"
root = "%name%"
init_fetch_dir = "fetch"
init_build_dir = "build"
init_install_dir = "build"
export_install_dir = "install"
fetch = "git clone https://github.com/homenc/HElib.git --branch %name%"
pre-build = """cmake -S %init_fetch_dir%/HElib -B %init_build_dir% \
-DCMAKE_INSTALL_PREFIX=%export_install_dir% \
-DUSE_INTEL_HEXL=ON \
-DHEXL_DIR=$%hexl%/export_cmake$"""
build = "cmake --build %init_build_dir% -j"
post-build = ""
install = "cmake --install %init_install_dir%"
# Dependencies
hexl = "hexl/1.2.1"