Skip to content

Commit

Permalink
Updates Config Files to new version (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
joserochh authored Aug 8, 2022
1 parent 565655c commit f95acf1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
# Define env vars #
###################
env:
HEXL_VER: 1.2.4
HEXL_VER: 1.2.5
HEXL_DIR: ${GITHUB_WORKSPACE}/lib/cmake/hexl-${HEXL_VER}
HEXL_HINT_DIR: >
-DHEXL_HINT_DIR=${GITHUB_WORKSPACE}/lib/cmake/hexl-${HEXL_VER}
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changes

## Version 1.2.5

- Adds experimental FFT-like (https://github.com/intel/hexl/pull/104)
- Adds big moduli tests for IFMA (https://github.com/intel/hexl/pull/123)
- Fixes HEXL's example build (https://github.com/intel/hexl/pull/114)
- Fixes IFMA/DQ logic error (https://github.com/intel/hexl/pull/118)
- Fixes pre-built CpuFeatures Error on Cmake 3.16 (https://github.com/intel/hexl/pull/120)
- Fixes 52-bit modulus issue https://github.com/intel/hexl/issues/121 (https://github.com/intel/hexl/pull/123)
- Updates to documentation

## Version 1.2.4
- Adds experimental HEXL-FPGA compatibility for dyadic multiply and key switch (https://github.com/intel/hexl/pull/109)
- Adds vcpkg example of how to use previous hexl versions (https://github.com/intel/hexl/pull/103)
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# target_link_options and cmake -S . -B build require cmake 3.13
cmake_minimum_required(VERSION 3.13)
project(HEXL VERSION 1.2.4 LANGUAGES C CXX)
project(HEXL VERSION 1.2.5 LANGUAGES C CXX)

include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
Expand Down
4 changes: 2 additions & 2 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ Once you have installed Intel HE Acceleration Library. Then, in your external
application, add the following lines to your `CMakeLists.txt`:

```bash
find_package(HEXL 1.2.4
find_package(HEXL 1.2.5
HINTS ${HEXL_HINT_DIR}
REQUIRED)
target_link_libraries(<your target> HEXL::hexl)
```
If Intel HE Acceleration Library is installed globally, `HEXL_HINT_DIR` is not
needed. Otherwise, `HEXL_HINT_DIR` should be the directory containing
`HEXLConfig.cmake`, e.g. `${CMAKE_INSTALL_PREFIX}/lib/cmake/hexl-1.2.4/`
`HEXLConfig.cmake`, e.g. `${CMAKE_INSTALL_PREFIX}/lib/cmake/hexl-1.2.5/`

## Method 2 (pkgconfig)

Expand Down
2 changes: 1 addition & 1 deletion example/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.13)
set(CMAKE_CXX_STANDARD 17)

# Example using source
find_package(HEXL 1.2.4
find_package(HEXL 1.2.5
HINTS ${HEXL_HINT_DIR}
REQUIRED)
if (NOT TARGET HEXL::hexl)
Expand Down
2 changes: 1 addition & 1 deletion example/vcpkg/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dependencies": [
{
"name": "hexl",
"version>=": "1.2.4"
"version>=": "1.2.5"
}
],
"builtin-baseline": "7baf7bc9f3390bab2f47e2bcbd35b065663bc80d",
Expand Down
2 changes: 1 addition & 1 deletion port/hexl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ vcpkg_cmake_configure(
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME "HEXL" CONFIG_PATH "lib/cmake/hexl-1.2.4")
vcpkg_cmake_config_fixup(PACKAGE_NAME "HEXL" CONFIG_PATH "lib/cmake/hexl-1.2.5")

vcpkg_fixup_pkgconfig()

Expand Down
2 changes: 1 addition & 1 deletion port/hexl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexl",
"version": "1.2.4",
"version": "1.2.5",
"description": "Intel® HEXL is an open-source library which provides efficient implementations of integer arithmetic on Galois fields.",
"homepage": "https://github.com/intel/hexl",
"supports": "x64 & !(windows & !static)",
Expand Down

0 comments on commit f95acf1

Please sign in to comment.