Skip to content

Commit

Permalink
feat: version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PETAce committed Jan 23, 2025
1 parent 5b8ebeb commit 1514f98
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
### Features

- Added benchmark for Verse.

## Version 0.4.0
- No update.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(NOT CMAKE_BUILD_TYPE)
endif()
message(STATUS "Build type (CMAKE_BUILD_TYPE): ${CMAKE_BUILD_TYPE}")

project(VERSE VERSION 0.3.0 LANGUAGES CXX C)
project(VERSE VERSION 0.4.0 LANGUAGES CXX C)

########################
# Global configuration #
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Currently, PETAce-Verse includes: [Naor-Pinkas OT](https://dl.acm.org/doi/10.555

| Required dependency | Tested version | Use |
|--------------------------------------------------------------------------------|----------------|---------------------------------|
| [PETAce-Solo](https://github.com/tiktok-privacy-innovation/PETAce-Solo) | 0.3.0 | Cryptography primitives |
| [PETAce-Network](https://github.com/tiktok-privacy-innovation/PETAce-Network) | 0.3.0 | Network communication protocols |
| [PETAce-Solo](https://github.com/tiktok-privacy-innovation/PETAce-Solo) | 0.4.0 | Cryptography primitives |
| [PETAce-Network](https://github.com/tiktok-privacy-innovation/PETAce-Network) | 0.4.0 | Network communication protocols |

| Optional dependency | Tested version | Use |
|----------------------------------------------------|----------------|-------------------|
Expand Down Expand Up @@ -102,14 +102,14 @@ This project is licensed under the [Apache-2.0 License](LICENSE).

To cite PETAce in academic papers, please use the following BibTeX entries.

### Version 0.3.0
### Version 0.4.0

```tex
@misc{petace,
title = {PETAce (release 0.3.0)},
title = {PETAce (release 0.4.0)},
howpublished = {\url{https://github.com/tiktok-privacy-innovation/PETAce}},
month = Jun,
year = 2024,
month = Jan,
year = 2025,
note = {TikTok Pte. Ltd.},
key = {PETAce}
}
Expand Down
4 changes: 2 additions & 2 deletions bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

cmake_minimum_required(VERSION 3.14)

project(VERSEBench VERSION 0.3.0 LANGUAGES CXX)
project(VERSEBench VERSION 0.4.0 LANGUAGES CXX)

# If not called from root CMakeLists.txt
if(NOT DEFINED VERSE_BUILD_BENCH)
set(VERSE_BUILD_BENCH ON)

find_package(PETAce-Verse 0.3.0 EXACT REQUIRED)
find_package(PETAce-Verse 0.4.0 EXACT REQUIRED)

add_compile_options(-msse4.2 -Wno-ignored-attributes -mavx)

Expand Down
2 changes: 1 addition & 1 deletion cmake/PETAce-Network.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FetchContent_Declare(
network
GIT_REPOSITORY https://github.com/tiktok-privacy-innovation/PETAce-Network.git
GIT_TAG 1952a0e0b061c5b43a7fbe5b8d71365abc5382a4 # 0.3.0
GIT_TAG 2842a3814e384140de58efc211cb0cdb02d8b2b9 # 0.4.0
)
FetchContent_GetProperties(network)

Expand Down
2 changes: 1 addition & 1 deletion cmake/PETAce-Solo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FetchContent_Declare(
solo
GIT_REPOSITORY https://github.com/tiktok-privacy-innovation/PETAce-Solo.git
GIT_TAG 60c6301802040f622d30c148ab49ad42f5b0e3d2 # 0.3.0
GIT_TAG 069ae987a1fafe77be3d5d7b5bcdd20697ced378 # 0.4.0
)
FetchContent_GetProperties(solo)

Expand Down
4 changes: 2 additions & 2 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

cmake_minimum_required(VERSION 3.14)

project(VERSEExamples VERSION 0.3.0 LANGUAGES CXX)
project(VERSEExamples VERSION 0.4.0 LANGUAGES CXX)

# If not called from root CMakeLists.txt
if(NOT DEFINED VERSE_BUILD_EXAMPLE)
set(VERSE_BUILD_EXAMPLE ON)

# Import Microsoft VERSE
find_package(PETAce-Verse 0.3.0 EXACT REQUIRED)
find_package(PETAce-Verse 0.4.0 EXACT REQUIRED)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
endif()
Expand Down
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

cmake_minimum_required(VERSION 3.14)

project(VERSETest VERSION 0.3.0 LANGUAGES CXX C)
project(VERSETest VERSION 0.4.0 LANGUAGES CXX C)

# If not called from root CMakeLists.txt
if(NOT DEFINED VERSE_BUILD_TEST)
set(VERSE_BUILD_TEST ON)

find_package(PETAce-Verse 0.3.0 EXACT REQUIRED)
find_package(PETAce-Verse 0.4.0 EXACT REQUIRED)

# Must define these variables and include macros
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib)
Expand Down

0 comments on commit 1514f98

Please sign in to comment.