-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce and use Ubuntu 24.04 build files
- Loading branch information
1 parent
2c65824
commit 2bb88b8
Showing
10 changed files
with
115 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# This source code is licensed under the MIT license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
RECIPES_DIR := ./recipes | ||
|
||
all: .folly-done .fizz-done .wangle-done .fmt-done .mvfst-done .fbthrift-done .gtest-done | ||
${RECIPES_DIR}/mcrouter.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
mcrouter: | ||
${RECIPES_DIR}/mcrouter.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
deps: .folly-done .fizz-done .wangle-done .fmt-done .mvfst-done .fbthrift-done | ||
touch $@ | ||
|
||
.folly-done: .fmt-done | ||
${RECIPES_DIR}/folly.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
.fizz-done: .folly-done | ||
${RECIPES_DIR}/fizz.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
.wangle-done: .folly-done .fizz-done | ||
${RECIPES_DIR}/wangle.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
.fmt-done: | ||
${RECIPES_DIR}/fmtlib.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
.mvfst-done: .wangle-done | ||
${RECIPES_DIR}/mvfst.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ | ||
|
||
.fbthrift-done: .folly-done .fizz-done .wangle-done .fmt-done .mvfst-done | ||
${RECIPES_DIR}/fbthrift.sh $(PKG_DIR) $(INSTALL_DIR) $(INSTALL_AUX_DIR) | ||
touch $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This source code is licensed under the MIT license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
set -ex | ||
|
||
BASE_DIR="$1" | ||
TARGET="${2:-all}" | ||
|
||
[ -n "$BASE_DIR" ] || ( echo "Base dir missing"; exit 1 ) | ||
|
||
sudo apt-get update | ||
|
||
sudo apt-get install -y \ | ||
autoconf \ | ||
binutils-dev \ | ||
bison \ | ||
cmake \ | ||
flex \ | ||
g++ \ | ||
gcc \ | ||
git \ | ||
libboost1.83-all-dev \ | ||
libbz2-dev \ | ||
libdouble-conversion-dev \ | ||
libevent-dev \ | ||
libfast-float-dev \ | ||
libgflags-dev \ | ||
libgoogle-glog-dev \ | ||
libgmock-dev \ | ||
libgtest-dev \ | ||
libjemalloc-dev \ | ||
liblz4-dev \ | ||
liblzma-dev \ | ||
liblzma5 \ | ||
libsnappy-dev \ | ||
libsodium-dev \ | ||
libssl-dev \ | ||
libtool \ | ||
libunwind8-dev \ | ||
libxxhash-dev \ | ||
libzstd-dev \ | ||
make \ | ||
ninja-build \ | ||
pkg-config \ | ||
python3-dev \ | ||
ragel \ | ||
sudo | ||
|
||
cd "$(dirname "$0")" || ( echo "cd fail"; exit 1 ) | ||
|
||
./get_and_build_by_make.sh "Makefile_ubuntu-24.04" "$TARGET" "$BASE_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters