Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
libff
01_shared_lib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 01_shared_lib.patch of Package libff
From: Adam Mizerski <adam@mizerski.pl> Date: 2019-02-12 20:48:31 Upstream: no Subject: build as shared library --- libff/CMakeLists.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) Index: libff-1.0.0/libff/CMakeLists.txt =================================================================== --- libff-1.0.0.orig/libff/CMakeLists.txt +++ libff-1.0.0/libff/CMakeLists.txt @@ -1,6 +1,6 @@ add_library( ff - STATIC + SHARED algebra/curves/alt_bn128/alt_bn128_g1.cpp algebra/curves/alt_bn128/alt_bn128_g2.cpp @@ -27,6 +27,7 @@ add_library( common/profiling.cpp common/utils.cpp ) +set_target_properties(ff PROPERTIES OUTPUT_NAME ff-${PACKAGE_VERSION}) target_link_libraries( ff @@ -48,7 +49,7 @@ install( ) install( - TARGETS ff DESTINATION lib + TARGETS ff DESTINATION lib${LIB_SUFFIX} ) # Tests @@ -102,6 +103,13 @@ if ("${IS_LIBFF_PARENT}") NAME algebra_fields_test COMMAND algebra_fields_test ) + set_tests_properties( + algebra_bilinearity_test + algebra_groups_test + algebra_fields_test + PROPERTIES + ENVIRONMENT LD_LIBRARY_PATH=. + ) add_dependencies(check algebra_bilinearity_test) add_dependencies(check algebra_groups_test)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor