Skip to content

Commit b5e5c64

Browse files
committedMay 3, 2020
V1.0.1 Release Update (#305)
1 parent 491de0a commit b5e5c64

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed
 

‎INSTALL.md

+14-16
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ be. To install in `/home/alice/helib_install`, for example:
4949
cmake -DPACKAGE_BUILD=ON -DCMAKE_INSTALL_PREFIX=/home/alice/helib_install ..
5050
```
5151

52-
Extra options can be specified here, such as enabling tests with
52+
Extra options can be specified here, such as enabling HElib tests with
5353
`-DENABLE_TEST=ON`. See later section entitled "HElib build
5454
options" for details.
5555

@@ -59,14 +59,12 @@ The output of this will be in the relocatable folder `helib_pack`:
5959
make -j16
6060
```
6161

62-
4. (optional) If step 2 was performed with `-DENABLE_TEST=ON`, tests can be run
63-
as follows:
62+
4. (optional) If step 2 was performed with `-DENABLE_TEST=ON`, HElib tests can
63+
be run as follows:
6464
```
65-
make test
65+
ctest -R helib_check
6666
```
67-
This will run the tests for GMP, NTL, and HElib. More detailed logging can be
68-
found in `Testing/Temporary/LastTest.log`.
69-
An even more detailed HElib-specific test logs can be found in
67+
Detailed HElib-specific test logs can be found in
7068
`dependencies/Build/helib_external/Testing/Temporary/LastTest.log`.
7169

7270
5. (optional) Run the install step, to copy the folder `helib_pack` to
@@ -76,18 +74,18 @@ make install
7674
```
7775

7876
of course, if the `CMAKE_INSTALL_PREFIX` was kept as the default `/usr/local`
79-
or some other system-wide path, step 5 needs to be run as root.
77+
or some other system-wide path, step 5 may require `sudo` privileges.
8078

8179

8280
## Option 2: library build (advanced)
8381

8482
This option involves building HElib on its own, linking against pre-existing
8583
dependencies (NTL and GMP) on the system. In this way, the HElib library can
8684
be moved around, but its dependencies (NTL and GMP) cannot, as they are
87-
absolute paths. For this option, you must build GMP >=6.0.0 and NTL >=11.0.0
85+
absolute paths. For this option, you must build GMP >=6.0.0 and NTL >=11.4.3
8886
yourself. For details on how to do this, please see the section on building
89-
dependencies later. We will suppose throughout this that the environment
90-
variables `$GMPDIR` and `$NTLDIR` are set to point to the installation
87+
dependencies later. It is assumed throughout this installation option that the
88+
environment variables `$GMPDIR` and `$NTLDIR` are set to point to the installation
9189
directories of GMP and NTL respectively.
9290

9391
Please note that if changing from package build to library build, it is safer
@@ -110,7 +108,7 @@ not specified, system-wide locations such as `/usr/local/lib` will be searched.
110108
cmake -DGMP_DIR="${GMPDIR}" -DNTL_DIR="${NTLDIR}" -DCMAKE_INSTALL_PREFIX=/home/alice/helib_install ..
111109
```
112110

113-
Extra options can be specified here, such as enabling tests with
111+
Extra options can be specified here, such as enabling HElib tests with
114112
`-DENABLE_TEST=ON`. See later section entitled "HElib build options" for
115113
details.
116114

@@ -123,9 +121,9 @@ make -j16
123121
4. (optional) If step 2 was performed with `-DENABLE_TEST=ON`, tests can be run
124122
as follows:
125123
```
126-
make test
124+
ctest
127125
```
128-
The complete test output can be found in
126+
Detailed HElib test logs can be found in
129127
`Testing/Temporary/LastTest.log`.
130128

131129
5. Run the install step, to copy the files to `${CMAKE_INSTALL_PREFIX}` (in
@@ -135,7 +133,7 @@ make install
135133
```
136134

137135
of course, if the `CMAKE_INSTALL_PREFIX` was kept as the default `/usr/local`
138-
or some other system-wide path, step 5 needs to be run as root.
136+
or some other system-wide path, step 5 may require `sudo` privileges.
139137

140138
## Building dependencies (for option 2)
141139

@@ -164,7 +162,7 @@ step 3.
164162

165163
You can install NTL as follows:
166164

167-
1. Download NTL >=11.0.0 (current version is 11.4.3) from
165+
1. Download NTL >=11.4.3 (current version is 11.4.3) from
168166
http://www.shoup.net/ntl/download.html
169167
2. Decompress and cd into the directory, e.g., `ntl-11.4.3/src`
170168
3. NTL is configured, built and installed in the standard Unix way (but

‎NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
HElib
2-
Copyright (C) 2012-2019 IBM Corp.
2+
Copyright (C) 2012-2020 IBM Corp.
33

‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ See [changes.md](changes.md) for more details.
2424
Full installation instructions and a list of the required dependencies can be found
2525
in [INSTALL.md](INSTALL.md).
2626

27-
HElib is written in C++14 and uses the [NTL mathematical library][4]
28-
(version 11.0.0 or higher).
27+
HElib is written in C++14 and uses the [NTL mathematical library][4].
2928
HElib is distributed under the terms of the [Apache License v2.0][5].
3029

3130

‎changes.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ HElib 1.0.1, April 2020
44

55
January-April 2020
66
------------------
7+
* Additional BGV examples BGV_(packed and binary)_arithmetic and simple BGV_database_lookup
78
* Improved powerful basis
89
* Enhancements and extensions to Binary operations
910
* Enhancements to Ptxt functions
1011
* Enhancements to Ctxt Functions
1112
* Enhancements and fixes to `ArgMap` functionality
1213
* Compilation warning messages clean-up
1314
* Updates to Docker build
14-
* Using stable Google test framework to HElib testing suite.
15+
* Using stable Google Test framework to HElib testing suite.
16+
* Additional tests ported to using Google Test framework
1517
* Bug fixes
1618

1719
HElib 1.0.0, January 2020

0 commit comments

Comments
 (0)
Please sign in to comment.