mirror of
https://github.com/apple/foundationdb.git
synced 2026-01-25 12:28:19 +00:00
bindingtester2-${FDB_VERSION} is generated in packages/ directory.
It is possible to run the test by
j start --tarball bindingtester2-7.3.0.tar.gz --max-runs 1000
and submit the test to joshua system. Joshua will run the tests in
parallel and tests will not impact each other. Yet it will take long
time for each run.
19 lines
914 B
CMake
19 lines
914 B
CMake
if(CPACK_GENERATOR MATCHES "RPM")
|
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/")
|
|
set(CPACK_COMPONENTS_ALL clients-el7 server-el7 clients-versioned server-versioned)
|
|
set(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/README.md)
|
|
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
|
|
elseif(CPACK_GENERATOR MATCHES "DEB")
|
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/")
|
|
set(CPACK_COMPONENTS_ALL clients-deb server-deb clients-versioned server-versioned)
|
|
set(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/README.md)
|
|
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
|
|
elseif(CPACK_GENERATOR MATCHES "TGZ")
|
|
set(CPACK_STRIP_FILES TRUE)
|
|
set(CPACK_COMPONENTS_ALL clients-tgz server-tgz)
|
|
set(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/README.md)
|
|
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
|
|
else()
|
|
message(FATAL_ERROR "Unsupported package format ${CPACK_GENERATOR}")
|
|
endif()
|