changeset 119: |
176c49ce94d6 |
parent 118: |
25fca690f35f |
child 120: |
9f6e629f7e2f |
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Mon, 15 Jan 2024 23:25:38 -0500 |
files: |
makefile scripts/install-rocksdb-pack.sh |
description: |
scripts |
1.1--- a/makefile Mon Jan 15 23:04:17 2024 -0500
1.2+++ b/makefile Mon Jan 15 23:25:38 2024 -0500
1.3@@ -155,7 +155,8 @@
1.4 dist/linux:linux $(D);
1.5
1.6 dist/rocksdb:$(D) rocksdb;
1.7- tar -I 'zstd' -cf $</rocksdb-binary.tar.zst $(ROCKSDB_TARGET)/include/* $(ROCKSDB_TARGET)/librocksdb.*
1.8+ cd build/src && \
1.9+ tar -I 'zstd' -cf ../../$</rocksdb-binary.tar.zst rocksdb/include/* rocksdb/librocksdb.*
1.10
1.11 dist/rust:rust-build $(D);
1.12 cd $(RUST_TARGET) && x dist
2.1--- a/scripts/install-rocksdb-pack.sh Mon Jan 15 23:04:17 2024 -0500
2.2+++ b/scripts/install-rocksdb-pack.sh Mon Jan 15 23:25:38 2024 -0500
2.3@@ -1,6 +1,8 @@
2.4-#!/usr/bin/env bash
2.5-cd build/src
2.6+#!/bin/sh
2.7+set -e
2.8+cd build/src
2.9 curl -O https://packy.compiler.company/dist/x86_64-unknown-linux-gnu/rocksdb-binary.tar.zst
2.10 unzstd rocksdb-binary.tar.zst | tar xvf -
2.11 cd rocksdb
2.12-sh install.sh
2.13+cp librocksdb.* /usr/local/lib/
2.14+cp -rf include/* /usr/local/include/