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 147cc97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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/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 147cc97

Please sign in to comment.