Skip to content

Commit

Permalink
restore changes to common.sh and fbthrift
Browse files Browse the repository at this point in the history
  • Loading branch information
filipenf committed Oct 10, 2023
1 parent c6a2112 commit 01a96fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mcrouter/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PKG_DIR="$1"
INSTALL_DIR="$2"
INSTALL_AUX_DIR="$3"
shift $#
MAKE_ARGS="$@ -j4"
MAKE_ARGS="$@ -j$(nproc)"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"

mkdir -p "$PKG_DIR" "$INSTALL_DIR"
Expand Down
2 changes: 1 addition & 1 deletion mcrouter/scripts/docker/ubuntu/Dockerfile-20.04
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.1-experimental
# syntax=docker/dockerfile:1.3
FROM ubuntu:20.04 as build

ENV DEBIAN_FRONTEND noninteractive
Expand Down
2 changes: 1 addition & 1 deletion mcrouter/scripts/recipes/fbthrift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
source common.sh

if [[ ! -d "$PKG_DIR/fbthrift" ]]; then
git clone -b main https://github.com/facebook/fbthrift
git clone https://github.com/facebook/fbthrift
cd "$PKG_DIR/fbthrift" || die "cd fail"
if [[ -f "$REPO_BASE_DIR/mcrouter/FBTHRIFT_COMMIT" ]]; then
FBTHRIFT_COMMIT="$(head -n 1 "$REPO_BASE_DIR/mcrouter/FBTHRIFT_COMMIT")"
Expand Down

0 comments on commit 01a96fa

Please sign in to comment.