Skip to content

Commit 891ced8

Browse files
anand1976facebook-github-bot
authored andcommitted
Remove platform009 and default to platform010 (facebook#11333)
Summary: Platform009 is no longer supported in fbcode. Pull Request resolved: facebook#11333 Reviewed By: pdillinger, ltamasi Differential Revision: D44486431 Pulled By: anand1976 fbshipit-source-id: 99e19a70ebbb04ae750d39c33a110518bb25487e
1 parent 39c2937 commit 891ced8

5 files changed

+2
-243
lines changed

build_tools/build_detect_platform

+1-7
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,7 @@ if [ -z "$ROCKSDB_NO_FBCODE" -a -d /mnt/gvfs/third-party ]; then
6363
if [ "$LIB_MODE" == "shared" ]; then
6464
PIC_BUILD=1
6565
fi
66-
if [ -n "$ROCKSDB_FBCODE_BUILD_WITH_PLATFORM010" ]; then
67-
source "$PWD/build_tools/fbcode_config_platform010.sh"
68-
elif [ -n "$ROCKSDB_FBCODE_BUILD_WITH_PLATFORM009" ]; then
69-
source "$PWD/build_tools/fbcode_config_platform009.sh"
70-
else
71-
source "$PWD/build_tools/fbcode_config_platform009.sh"
72-
fi
66+
source "$PWD/build_tools/fbcode_config_platform010.sh"
7367
fi
7468

7569
# Delete existing output, if it exists

build_tools/dependencies_platform009.sh

-22
This file was deleted.

build_tools/fbcode_config_platform009.sh

-170
This file was deleted.

build_tools/update_dependencies.sh

-43
Original file line numberDiff line numberDiff line change
@@ -104,46 +104,3 @@ get_lib_base valgrind LATEST platform010
104104
get_lib_base lua 5.3.4 platform010
105105

106106
git diff $OUTPUT
107-
108-
109-
###########################################################
110-
# platform009 dependencies #
111-
###########################################################
112-
113-
OUTPUT="$BASEDIR/dependencies_platform009.sh"
114-
115-
rm -f "$OUTPUT"
116-
touch "$OUTPUT"
117-
118-
echo "Writing dependencies to $OUTPUT"
119-
120-
# Compilers locations
121-
GCC_BASE=`readlink -f $TP2_LATEST/gcc/9.x/centos7-native/*/`
122-
CLANG_BASE=`readlink -f $TP2_LATEST/llvm-fb/9.0.0/platform009/*/`
123-
124-
log_header
125-
log_variable GCC_BASE
126-
log_variable CLANG_BASE
127-
128-
# Libraries locations
129-
get_lib_base libgcc 9.x platform009
130-
get_lib_base glibc 2.30 platform009
131-
get_lib_base snappy LATEST platform009
132-
get_lib_base zlib LATEST platform009
133-
get_lib_base bzip2 LATEST platform009
134-
get_lib_base lz4 LATEST platform009
135-
get_lib_base zstd LATEST platform009
136-
get_lib_base gflags LATEST platform009
137-
get_lib_base jemalloc LATEST platform009
138-
get_lib_base numa LATEST platform009
139-
get_lib_base libunwind LATEST platform009
140-
get_lib_base tbb 2018_U5 platform009
141-
get_lib_base liburing LATEST platform009
142-
get_lib_base benchmark LATEST platform009
143-
144-
get_lib_base kernel-headers fb platform009
145-
get_lib_base binutils LATEST centos7-native
146-
get_lib_base valgrind LATEST platform009
147-
get_lib_base lua 5.3.4 platform009
148-
149-
git diff $OUTPUT

coverage/coverage_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212
ROOT=".."
1313
# Fetch right version of gcov
1414
if [ -d /mnt/gvfs/third-party -a -z "$CXX" ]; then
15-
source $ROOT/build_tools/fbcode_config_platform009.sh
15+
source $ROOT/build_tools/fbcode_config_platform010.sh
1616
GCOV=$GCC_BASE/bin/gcov
1717
else
1818
GCOV=$(which gcov)

0 commit comments

Comments
 (0)