Compare commits
4 Commits
master
...
libuuid-fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab7809481c | ||
|
|
6206e0f05f | ||
|
|
54221eb601 | ||
|
|
b1587adb57 |
2
.github/workflows/package_memgraph.yaml
vendored
2
.github/workflows/package_memgraph.yaml
vendored
@@ -38,7 +38,7 @@ on:
|
||||
jobs:
|
||||
amzn-2:
|
||||
if: ${{ github.event.inputs.target_os == 'amzn-2' || github.event.inputs.target_os == 'all' }}
|
||||
runs-on: [self-hosted, DockerMgBuild, X64]
|
||||
runs-on: [self-hosted, mantis]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- name: "Set up repository"
|
||||
|
||||
@@ -12,4 +12,6 @@ RUN wget -q https://s3-eu-west-1.amazonaws.com/deps.memgraph.io/${TOOLCHAIN_VERS
|
||||
&& tar xzvf ${TOOLCHAIN_VERSION}-binaries-amzn-2-x86_64.tar.gz -C /opt \
|
||||
&& rm ${TOOLCHAIN_VERSION}-binaries-amzn-2-x86_64.tar.gz
|
||||
|
||||
RUN yum install libuuid-devel.x86_64 -y
|
||||
|
||||
ENTRYPOINT ["sleep", "infinity"]
|
||||
|
||||
@@ -24,8 +24,13 @@ find_package(Threads REQUIRED)
|
||||
|
||||
add_library(mg-utils STATIC ${utils_src_files})
|
||||
add_library(mg::utils ALIAS mg-utils)
|
||||
|
||||
find_path(LIBUUID_INCLUDE_DIR uuid.h PATH_SUFFIXES uuid)
|
||||
find_library(LIBUUID_LIBRARY libuuid.a)
|
||||
include_directories(${LIBUUID_INCLUDE_DIR})
|
||||
target_link_libraries(testuuid PUBLIC ${LIBUUID_LIBRARY})
|
||||
target_link_libraries(mg-utils PUBLIC Boost::headers fmt::fmt spdlog::spdlog json)
|
||||
target_link_libraries(mg-utils PRIVATE librdtsc stdc++fs Threads::Threads gflags uuid rt)
|
||||
target_link_libraries(mg-utils PRIVATE librdtsc stdc++fs Threads::Threads gflags ${LIBUUID_LIBRARY} rt)
|
||||
|
||||
set(settings_src_files
|
||||
settings.cpp)
|
||||
|
||||
Reference in New Issue
Block a user