Compare commits

...
2 Commits
Author SHA1 Message Date
Malavan Sotheeswaran 2f7e18f624 add alpine ci run 2023-04-17 14:08:25 -04:00
Malavan Sotheeswaran 7ceed46897 remove noexcept for alpine 2023-04-17 09:45:55 -07:00
3 changed files with 28 additions and 1 deletions

No files matched your search

+11
View File
@@ -69,3 +69,14 @@ jobs:
sudo apt-get -y remove libzstd || true
sudo apt-get -y install uuid-dev libcurl4-openssl-dev libbz2-dev zlib1g-dev libsnappy-dev liblz4-dev libzstd-dev libgflags-dev
make KEYDB_CFLAGS='-Werror' KEYDB_CXXFLAGS='-Werror' MALLOC=libc -j2
build-alpine:
runs-on: alpine-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: make -j2
run: |
apk add coreutils gcc linux-headers make musl-dev openssl-dev git util-linux-dev curl-dev g++ libunwind-dev bash perl git bzip2-dev zstd-dev lz4-dev snappy-dev
make -j2
+1 -1
View File
@@ -349,7 +349,7 @@ endif
# Alpine OS doesn't have support for the execinfo backtrace library we use for debug, so we provide an alternate implementation using libwunwind.
OS := $(shell cat /etc/os-release | grep ID= | head -n 1 | cut -d'=' -f2)
ifeq ($(OS),alpine)
FINAL_CXXFLAGS+=-DUNW_LOCAL_ONLY
FINAL_CXXFLAGS+=-DUNW_LOCAL_ONLY -DALPINE
FINAL_LIBS += -lunwind
endif
+16
View File
@@ -3894,14 +3894,30 @@ void incrementMvccTstamp();
#if __GNUC__ >= 7 && !defined(NO_DEPRECATE_FREE)
[[deprecated]]
#ifdef ALPINE
void *calloc(size_t count, size_t size);
#else
void *calloc(size_t count, size_t size) noexcept;
#endif
[[deprecated]]
#ifdef ALPINE
void free(void *ptr);
#else
void free(void *ptr) noexcept;
#endif
[[deprecated]]
#ifdef ALPINE
void *malloc(size_t size);
#else
void *malloc(size_t size) noexcept;
#endif
[[deprecated]]
#ifdef ALPINE
void *realloc(void *ptr, size_t size);
#else
void *realloc(void *ptr, size_t size) noexcept;
#endif
#endif
/* Debugging stuff */
void bugReportStart(void);