From 143d1106fa2df309089029c808c1c551d178cdda Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Tue, 5 Sep 2023 17:38:53 -0400 Subject: [PATCH] +materialize -- a fast, distributed SQL database built on streaming internals (#3116) * +materialize -- Materialize is a fast, distributed SQL database built on streaming internals. * fix: MZ_DEV_BUILD_SHA * fix: openssl * perl * openssl no vendor * use git+https * lock llvm version * Llvm14? * gcc maybe? * typo * add make * reorder deps and explicate CC * fix yaml * explicit clang * autoconf/automake * when in doubt, try gcc * Explicit! * zlib needed? * override debug section compression? --------- Co-authored-by: Jacob Heider --- projects/materialize.com/package.yml | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 projects/materialize.com/package.yml diff --git a/projects/materialize.com/package.yml b/projects/materialize.com/package.yml new file mode 100644 index 00000000..6e17dd3b --- /dev/null +++ b/projects/materialize.com/package.yml @@ -0,0 +1,39 @@ +distributable: + url: git+https://github.com/MaterializeInc/materialize + ref: v{{ version }} + +provides: + - bin/mz + +versions: + github: MaterializeInc/materialize + strip: /v/ + +dependencies: + openssl.org: ^1.1 + +build: + working-directory: src/mz + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + rust-lang.org: '>=1.56' + rust-lang.org/cargo: '*' + cmake.org: ^3 + perl.org: "*" + gnu.org/automake: '*' + gnu.org/autoconf: '*' + script: cargo install --locked --path . --root {{prefix}} + env: + linux: + # See: https://docs.rs/openssl/latest/openssl/#manual + OPENSSL_NO_VENDOR: true # Always find OpenSSL in the system, even if the vendored feature is enabled. + OPENSSL_DIR: "{{ deps.openssl.org.prefix }}" # Use tea's openssl installation directory + linux/x86-64: + # Otherwise we get: error: unknown --compress-debug-sections value: zlib-gabi + RUSTFLAGS: -C link-arg=-Wl,--compress-debug-sections=none + +test: + script: + # The CLI is versioned independently of the repo's releases + - test "$(mz --version)" = "mz 0.1.3"