Skip to content

Commit

Permalink
Remove platform009 and default to platform010 (#11333)
Browse files Browse the repository at this point in the history
Summary:
Platform009 is no longer supported in fbcode.

Pull Request resolved: #11333

Reviewed By: pdillinger, ltamasi

Differential Revision: D44486431

Pulled By: anand1976

fbshipit-source-id: 99e19a70ebbb04ae750d39c33a110518bb25487e
  • Loading branch information
anand1976 authored and facebook-github-bot committed Mar 30, 2023
1 parent 39c2937 commit 891ced8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 243 deletions.
8 changes: 1 addition & 7 deletions build_tools/build_detect_platform
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,7 @@ if [ -z "$ROCKSDB_NO_FBCODE" -a -d /mnt/gvfs/third-party ]; then
if [ "$LIB_MODE" == "shared" ]; then
PIC_BUILD=1
fi
if [ -n "$ROCKSDB_FBCODE_BUILD_WITH_PLATFORM010" ]; then
source "$PWD/build_tools/fbcode_config_platform010.sh"
elif [ -n "$ROCKSDB_FBCODE_BUILD_WITH_PLATFORM009" ]; then
source "$PWD/build_tools/fbcode_config_platform009.sh"
else
source "$PWD/build_tools/fbcode_config_platform009.sh"
fi
source "$PWD/build_tools/fbcode_config_platform010.sh"
fi

# Delete existing output, if it exists
Expand Down
22 changes: 0 additions & 22 deletions build_tools/dependencies_platform009.sh

This file was deleted.

170 changes: 0 additions & 170 deletions build_tools/fbcode_config_platform009.sh

This file was deleted.

43 changes: 0 additions & 43 deletions build_tools/update_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,46 +104,3 @@ get_lib_base valgrind LATEST platform010
get_lib_base lua 5.3.4 platform010

git diff $OUTPUT


###########################################################
# platform009 dependencies #
###########################################################

OUTPUT="$BASEDIR/dependencies_platform009.sh"

rm -f "$OUTPUT"
touch "$OUTPUT"

echo "Writing dependencies to $OUTPUT"

# Compilers locations
GCC_BASE=`readlink -f $TP2_LATEST/gcc/9.x/centos7-native/*/`
CLANG_BASE=`readlink -f $TP2_LATEST/llvm-fb/9.0.0/platform009/*/`

log_header
log_variable GCC_BASE
log_variable CLANG_BASE

# Libraries locations
get_lib_base libgcc 9.x platform009
get_lib_base glibc 2.30 platform009
get_lib_base snappy LATEST platform009
get_lib_base zlib LATEST platform009
get_lib_base bzip2 LATEST platform009
get_lib_base lz4 LATEST platform009
get_lib_base zstd LATEST platform009
get_lib_base gflags LATEST platform009
get_lib_base jemalloc LATEST platform009
get_lib_base numa LATEST platform009
get_lib_base libunwind LATEST platform009
get_lib_base tbb 2018_U5 platform009
get_lib_base liburing LATEST platform009
get_lib_base benchmark LATEST platform009

get_lib_base kernel-headers fb platform009
get_lib_base binutils LATEST centos7-native
get_lib_base valgrind LATEST platform009
get_lib_base lua 5.3.4 platform009

git diff $OUTPUT
2 changes: 1 addition & 1 deletion coverage/coverage_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi
ROOT=".."
# Fetch right version of gcov
if [ -d /mnt/gvfs/third-party -a -z "$CXX" ]; then
source $ROOT/build_tools/fbcode_config_platform009.sh
source $ROOT/build_tools/fbcode_config_platform010.sh
GCOV=$GCC_BASE/bin/gcov
else
GCOV=$(which gcov)
Expand Down

0 comments on commit 891ced8

Please sign in to comment.