Skip to content

Commit dc45e3e

Browse files
committed
oprf_psi err
1 parent 6b36289 commit dc45e3e

34 files changed

+501525
-975
lines changed

CMakeLists.txt

+26-11
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
33

44
# Project's name
55
PROJECT(Kunlun)
6-
6+
# On some machines, the path of OpenSSL is /usr/local/lib64/openssl/libcrypto.a
77
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
8-
SET(OPENSSL_LIBRARIES /usr/local/openssl/lib64/libcrypto.a /usr/local/openssl/lib64/libssl.a)
9-
SET(OPENSSL_INCLUDE_DIR /usr/local/openssl/include)
10-
SET(OPENSSL_DIR /usr/local/openssl/lib64)
8+
SET(OPENSSL_LIBRARIES /usr/local/lib64/libcrypto.a /usr/local/lib64/libssl.a)
9+
SET(OPENSSL_INCLUDE_DIR /usr/local/include)
10+
SET(OPENSSL_DIR /usr/local/lib64)
1111
ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
1212
SET(OPENSSL_LIBRARIES /usr/local/lib/libcrypto.a /usr/local/lib/libssl.a)
1313
SET(OPENSSL_INCLUDE_DIR /usr/local/include)
@@ -18,7 +18,7 @@ FIND_PACKAGE(OpenMP REQUIRED)
1818

1919
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fpic -msse4.2 -Wno-deprecated-declarations -Wno-unused-result -Xpreprocessor -O3")
2020

21-
SET(CMAKE_CXX_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -ldl")
21+
#SET(CMAKE_CXX_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -ldl")
2222

2323
INCLUDE_DIRECTORIES(
2424
${OPENSSL_INCLUDE_DIR}
@@ -118,7 +118,7 @@ ADD_EXECUTABLE(mypsu test/mypsuTest.cpp)
118118
TARGET_LINK_LIBRARIES(mypsu ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
119119

120120
#myfiletest
121-
ADD_EXECUTABLE(myfile test/mytest/fileTest.cpp)
121+
ADD_EXECUTABLE(myfile test/mytest/fileTest.cpp test/mytest/PirTest.cpp)
122122
TARGET_LINK_LIBRARIES(myfile ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
123123

124124
# oprf
@@ -186,19 +186,34 @@ TARGET_LINK_LIBRARIES(test_adcp ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_
186186
# target_link_libraries(test_mcl libmcl.a libgmp.a)
187187

188188

189-
find_package(SEAL 4.0 REQUIRED)
190189

190+
#[[!!!有时会遇到 seal/seal.h 找不到的错误]]
191+
find_package(SEAL 4.0 REQUIRED)
192+
193+
if(NOT SEAL_FOUND)
194+
message(FATAL_ERROR "Microsoft SEAL: not found")
195+
else()
196+
message(STATUS "Microsoft SEAL: ${SEAL_DIR}")
197+
endif()
198+
# 找不到头文件的临时解决方法
199+
#find_path(SEAL_INCLUDE_DIRS seal/seal.h PATH_SUFFIXES SEAL-4.0)
200+
#include_directories(${SEAL_INCLUDE_DIRS})
191201

192202
add_library(sealpir mpc/pir/pir.hpp mpc/pir/pir.cpp mpc/pir/pir_client.hpp mpc/pir/pir_client.cpp mpc/pir/pir_server.hpp
193-
mpc/pir/pir_server.cpp)
203+
mpc/pir/pir_server.cpp )
204+
# mpc/pir/sealpir_keyword.hpp mpc/pir/seal_pir.hpp
194205

195-
#add_library(sealpir mpc/pir/seal_pir.hpp)
196206
target_link_libraries(sealpir SEAL::seal)
197-
add_executable(pirtest test/mytest/sealpirTest.cpp)
198-
target_link_libraries(pirtest sealpir ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
207+
208+
#add_executable(pirtest test/mytest/PirTest.cpp )
209+
#target_link_libraries(pirtest sealpir ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
199210

200211
add_executable(test_pirfile test/mytest/sealpirTest.cpp)
201212
target_link_libraries(test_pirfile sealpir ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
202213

214+
add_executable(test_cope test/mytest/test_cope.cpp)
215+
target_link_libraries(test_cope ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
203216

217+
add_executable(test_oprf_psi test/mytest/test_psi_from_oprf.cpp)
218+
target_link_libraries(test_oprf_psi ${OPENSSL_LIBRARIES} OpenMP::OpenMP_CXX ${CMAKE_DL_LIBS})
204219

README.md

+17-6
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,20 @@ do the same modification as in MACOS, then compile it according to
6666
$ sudo make install
6767
```
6868

69-
if reporting cannot find "opensslv.h" error, try to install libssl-dev
70-
```
71-
$ sudo apt-get install libssl-dev
72-
```
73-
7469
* install OpenMP
7570
```
76-
$ sudo apt-get install libomp-dev
71+
$ sudo apt install libomp-dev
7772
```
7873

74+
* install SEAL
75+
```angular2html
76+
$ git clone -b v4.0.0 https://github.com/microsoft/SEAL.git
77+
$ cd SEAL
78+
$ mkdir build
79+
$ cmake ..
80+
$ make
81+
$ sudo make install
82+
```
7983
## Code Structure
8084

8185
- README.md
@@ -148,6 +152,13 @@ if reporting cannot find "opensslv.h" error, try to install libssl-dev
148152
* mqrpmt_psu.hpp: union
149153
* mqrpmt_private_id.hpp: private-id protocol based on OTE-based OPRF and cwPRF-based mqRPMT
150154

155+
- /pir
156+
* pir.hpp pir.cpp SEALPIR sources code
157+
* pir_client.hpp pir_client.cpp SEALPIR Client
158+
* pir_server.hpp pir_server.cpp SEALPIR Server
159+
* seal_pir.hpp SEALPIR by index
160+
* sealpir_keyword.hpp SEALPIR by keyword(limitation)
161+
151162
- zkp
152163
- /nizk: associated sigma protocol for twisted elgamal; obtained via Fiat-Shamir transform
153164
* nizk_plaintext_equality.hpp: NIZKPoK for twisted ElGamal plaintext equality in 3-recipient mode

cmake-build-debug/.ninja_deps

52.7 KB
Binary file not shown.

cmake-build-debug/.ninja_log

+52
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,59 @@
11
# ninja log v5
2+
11813 12429 1682318525182947862 /home/ubuntu/CLionProjects/Kunlun/build/myfile e6f7fcea8cd76b5a
23
1 8775 1677301325825354520 CMakeFiles/test_cwprf_psi.dir/test/test_cwprf_psi.cpp.o 20401ef5065b039d
34
2 509 1677301453593643327 /home/ubuntu/CLionProjects/Kunlun/build/test_cwprf_psi b4270fb4635e276f
5+
6 15518 1682318619311676182 CMakeFiles/sealpir.dir/mpc/pir/pir_client.cpp.o 4f63f2c9849fb67a
6+
6 9855 1682335848366965177 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
7+
15313 15993 1682334358415385658 /home/ubuntu/CLionProjects/Kunlun/build/test_mqrpmt_psi 99fc3fca57e909a9
48
5 8104 1677226829904858340 CMakeFiles/test_iknp_ote.dir/test/test_iknp_ote.cpp.o 1c9a7a5cf220a5bf
9+
0 156 1682382650517779304 build.ninja 6a2cb9e0e74aa6a7
510
2 806 1677299237677383031 /home/ubuntu/CLionProjects/Kunlun/build/test_iknp_ote 94152c7727680478
611
0 7661 1677299416496372585 CMakeFiles/test_mqrpmt.dir/test/test_mqrpmt.cpp.o 63748d5e58e35bac
12+
6 16008 1682318619799679605 CMakeFiles/sealpir.dir/mpc/pir/pir_server.cpp.o 359917a232f215f5
13+
14 228 1682318512986842833 CMakeFiles/myfile.dir/test/mytest/PirTest.cpp.o d6c38d674fc4e789
14+
0 13173 1682318616959659645 CMakeFiles/sealpir.dir/mpc/pir/pir.cpp.o eaab4a703ff0d0a1
15+
4 11778 1682318524526942278 CMakeFiles/myfile.dir/test/mytest/fileTest.cpp.o db774da88d7fe244
16+
16009 16163 1682318619943680613 libsealpir.a f38e5809892430dc
17+
9867 10456 1682335848982971637 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
718
7662 8263 1677299417096429767 /home/ubuntu/CLionProjects/Kunlun/build/test_mqrpmt 81bd92429d7669e1
19+
4 15272 1682334357683320979 CMakeFiles/test_mqrpmt_psi.dir/test/test_mqrpmt_psi.cpp.o 8fdb5abceedcaee8
20+
1 13853 1682390410989488161 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
21+
13909 14535 1682390411685498816 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
22+
2 13678 1682391123541652987 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
23+
13791 14516 1682391124389660637 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
24+
10 12982 1682391563397318785 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
25+
13000 13578 1682391564005323540 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
26+
4 12376 1682395129450582764 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
27+
12388 12979 1682395130058514362 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
28+
7 11298 1682396504444222424 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
29+
11309 11841 1682396504992224857 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
30+
3 14111 1682396840623806720 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
31+
14123 14722 1682396841247803647 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
32+
18 11758 1682397452563731450 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
33+
11767 12354 1682397453167733720 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
34+
24 11323 1682402615173844948 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
35+
11396 12046 1682402615905838112 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
36+
5 10348 1682403041825962368 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
37+
10370 11067 1682403042549955909 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
38+
4 10265 1682403393705051811 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
39+
10329 10909 1682403394357095143 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
40+
6 16857 1682403655550941857 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
41+
16878 17564 1682403656258971368 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
42+
2 12345 1682403988933566096 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
43+
12363 12937 1682403989533580453 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
44+
5 17808 1682404192109745331 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
45+
17953 18615 1682404192925759693 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
46+
3 9981 1682404658439874658 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
47+
9991 10555 1682404659023880403 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
48+
2 9656 1682404750748742090 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
49+
9667 10234 1682404751336747366 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
50+
4 12077 1682405613878935649 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
51+
12085 12627 1682405614438917758 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
52+
2 13609 1682418254689049164 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
53+
13670 14299 1682418255380937459 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
54+
39 11671 1682422868949517795 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
55+
11685 12349 1682422869629524442 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
56+
5 10675 1682426383714624688 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
57+
10695 11386 1682426384434568841 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1
58+
5 23040 1683178181649159150 CMakeFiles/test_cope.dir/test/mytest/test_cope.cpp.o b7fe743955311a62
59+
23060 23684 1683178185865124455 /home/ubuntu/CLionProjects/Kunlun/build/test_cope 98625512eeeeb8d1

cmake-build-debug/CMakeCache.txt

+12
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,12 @@ OpenMP_gomp_LIBRARY:FILEPATH=/usr/lib/gcc/x86_64-linux-gnu/9/libgomp.so
239239
//Path to the pthread library for OpenMP
240240
OpenMP_pthread_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so
241241

242+
//The directory containing a CMake configuration file for SEAL.
243+
SEAL_DIR:PATH=/usr/local/lib/cmake/SEAL-4.0
244+
245+
//Dependencies for the target
246+
sealpir_LIB_DEPENDS:STATIC=general;SEAL::seal;
247+
242248

243249
########################
244250
# INTERNAL cache entries
@@ -320,6 +326,8 @@ CMAKE_GENERATOR_INSTANCE:INTERNAL=
320326
CMAKE_GENERATOR_PLATFORM:INTERNAL=
321327
//Name of generator toolset.
322328
CMAKE_GENERATOR_TOOLSET:INTERNAL=
329+
//Test CMAKE_HAVE_LIBC_PTHREAD
330+
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
323331
//Source directory with the top level CMakeLists.txt file for this
324332
// project
325333
CMAKE_HOME_DIRECTORY:INTERNAL=/home/ubuntu/CLionProjects/Kunlun
@@ -389,6 +397,8 @@ FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][TRUE][c ][v4.5()]
389397
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_C:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-linux-gnu/9/libgomp.so][/usr/lib/x86_64-linux-gnu/libpthread.so][v4.5()]
390398
//Details about finding OpenMP_CXX
391399
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_CXX:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-linux-gnu/9/libgomp.so][/usr/lib/x86_64-linux-gnu/libpthread.so][v4.5()]
400+
//Details about finding Threads
401+
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
392402
//Result of TRY_COMPILE
393403
OpenMP_COMPILE_RESULT_CXX_fopenmp:INTERNAL=TRUE
394404
//Result of TRY_COMPILE
@@ -413,6 +423,8 @@ OpenMP_SPECTEST_C_:INTERNAL=TRUE
413423
OpenMP_gomp_LIBRARY-ADVANCED:INTERNAL=1
414424
//ADVANCED property for variable: OpenMP_pthread_LIBRARY
415425
OpenMP_pthread_LIBRARY-ADVANCED:INTERNAL=1
426+
//Result of TRY_COMPILE
427+
THREADS_HAVE_PTHREAD_ARG:INTERNAL=TRUE
416428
//linker supports push/pop state
417429
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
418430

cmake-build-debug/CMakeFiles/TargetDirectories.txt

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_mqrpmt_private_id.dir
1515
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/mytest.dir
1616
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/mypsu.dir
17+
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/myfile.dir
1718
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_oteoprf.dir
1819
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_peqt.dir
1920
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_misc.dir
@@ -31,5 +32,9 @@
3132
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_bullet_proof.dir
3233
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_range_proof.dir
3334
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_adcp.dir
35+
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/sealpir.dir
36+
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_pirfile.dir
37+
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_cope.dir
38+
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/test_iknp.dir
3439
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/edit_cache.dir
3540
/home/ubuntu/CLionProjects/Kunlun/cmake-build-debug/CMakeFiles/rebuild_cache.dir
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
11
/snap/clion/234/bin/cmake/linux/x64/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/snap/clion/234/bin/ninja/linux/x64/ninja -G Ninja -S /home/ubuntu/CLionProjects/Kunlun -B /home/ubuntu/CLionProjects/Kunlun/cmake-build-debug
2-
-- The C compiler identification is GNU 9.4.0
3-
-- The CXX compiler identification is GNU 9.4.0
4-
-- Detecting C compiler ABI info
5-
-- Detecting C compiler ABI info - done
6-
-- Check for working C compiler: /usr/bin/cc - skipped
7-
-- Detecting C compile features
8-
-- Detecting C compile features - done
9-
-- Detecting CXX compiler ABI info
10-
-- Detecting CXX compiler ABI info - done
11-
-- Check for working CXX compiler: /usr/bin/c++ - skipped
12-
-- Detecting CXX compile features
13-
-- Detecting CXX compile features - done
14-
-- Found OpenMP_C: -fopenmp (found version "4.5")
15-
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
16-
-- Found OpenMP: TRUE (found version "4.5")
172
-- _NUMBER_OF_LOGICAL_CORES="4"
183
-- _NUMBER_OF_PHYSICAL_CORES="4"
194
-- _IS_64BIT="1"
205
-- _HAS_SSE2="1"
216
-- _OS_NAME="Linux"
227
-- _OS_RELEASE="5.15.0-69-generic"
8+
-- Microsoft SEAL -> Version 4.0.0 detected
9+
-- Microsoft SEAL -> Targets available: SEAL::seal
10+
-- Microsoft SEAL: /usr/local/lib/cmake/SEAL-4.0
2311
-- Configuring done
2412
-- Generating done
2513
-- Build files have been written to: /home/ubuntu/CLionProjects/Kunlun/cmake-build-debug
Binary file not shown.
Binary file not shown.

cmake-build-debug/CMakeFiles/rules.ninja

+95
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,25 @@ rule CXX_EXECUTABLE_LINKER__mypsu_Debug
315315
restat = $RESTAT
316316

317317

318+
#############################################
319+
# Rule for compiling CXX files.
320+
321+
rule CXX_COMPILER__myfile_Debug
322+
depfile = $DEP_FILE
323+
deps = gcc
324+
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
325+
description = Building CXX object $out
326+
327+
328+
#############################################
329+
# Rule for linking CXX executable.
330+
331+
rule CXX_EXECUTABLE_LINKER__myfile_Debug
332+
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
333+
description = Linking CXX executable $TARGET_FILE
334+
restat = $RESTAT
335+
336+
318337
#############################################
319338
# Rule for compiling CXX files.
320339

@@ -638,6 +657,82 @@ rule CXX_EXECUTABLE_LINKER__test_adcp_Debug
638657
restat = $RESTAT
639658

640659

660+
#############################################
661+
# Rule for compiling CXX files.
662+
663+
rule CXX_COMPILER__sealpir_Debug
664+
depfile = $DEP_FILE
665+
deps = gcc
666+
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
667+
description = Building CXX object $out
668+
669+
670+
#############################################
671+
# Rule for linking CXX static library.
672+
673+
rule CXX_STATIC_LIBRARY_LINKER__sealpir_Debug
674+
command = $PRE_LINK && /snap/clion/234/bin/cmake/linux/x64/bin/cmake -E rm -f $TARGET_FILE && /usr/bin/ar qc $TARGET_FILE $LINK_FLAGS $in && /usr/bin/ranlib $TARGET_FILE && $POST_BUILD
675+
description = Linking CXX static library $TARGET_FILE
676+
restat = $RESTAT
677+
678+
679+
#############################################
680+
# Rule for compiling CXX files.
681+
682+
rule CXX_COMPILER__test_pirfile_Debug
683+
depfile = $DEP_FILE
684+
deps = gcc
685+
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
686+
description = Building CXX object $out
687+
688+
689+
#############################################
690+
# Rule for linking CXX executable.
691+
692+
rule CXX_EXECUTABLE_LINKER__test_pirfile_Debug
693+
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
694+
description = Linking CXX executable $TARGET_FILE
695+
restat = $RESTAT
696+
697+
698+
#############################################
699+
# Rule for compiling CXX files.
700+
701+
rule CXX_COMPILER__test_cope_Debug
702+
depfile = $DEP_FILE
703+
deps = gcc
704+
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
705+
description = Building CXX object $out
706+
707+
708+
#############################################
709+
# Rule for linking CXX executable.
710+
711+
rule CXX_EXECUTABLE_LINKER__test_cope_Debug
712+
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
713+
description = Linking CXX executable $TARGET_FILE
714+
restat = $RESTAT
715+
716+
717+
#############################################
718+
# Rule for compiling CXX files.
719+
720+
rule CXX_COMPILER__test_iknp_Debug
721+
depfile = $DEP_FILE
722+
deps = gcc
723+
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
724+
description = Building CXX object $out
725+
726+
727+
#############################################
728+
# Rule for linking CXX executable.
729+
730+
rule CXX_EXECUTABLE_LINKER__test_iknp_Debug
731+
command = $PRE_LINK && /usr/bin/c++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
732+
description = Linking CXX executable $TARGET_FILE
733+
restat = $RESTAT
734+
735+
641736
#############################################
642737
# Rule for running custom commands.
643738

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)