Commit 699a4370 authored by Daniel Black's avatar Daniel Black

debian: remove gcc check. don't package rocksdb on x86_32

parent cca55a9c
...@@ -50,12 +50,10 @@ then ...@@ -50,12 +50,10 @@ then
sed "/Package: libmariadbd-dev/,/^$/d" -i debian/control sed "/Package: libmariadbd-dev/,/^$/d" -i debian/control
fi fi
# Convert gcc version to numberical value. Format is Mmmpp where M is Major if [[ $(arch) =~ i[346]86 ]]
# version, mm is minor version and p is patch. then
# -dumpfullversion & -dumpversion to make it uniform across old and new (>=7) sed "/Package: mariadb-plugin-rocksdb/,/^$/d" -i debian/control
GCCVERSION=$(gcc -dumpfullversion -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' \ fi
-e 's/\.\([0-9]\)/0\1/g' \
-e 's/^[0-9]\{3,4\}$/&00/')
# If rocksdb-tools is not available (before Debian Buster and Ubuntu Disco) # If rocksdb-tools is not available (before Debian Buster and Ubuntu Disco)
# remove the dependency from the RocksDB plugin so it can install properly # remove the dependency from the RocksDB plugin so it can install properly
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment