memory/jemalloc/update.sh
author Robert O'Callahan <robert@ocallahan.org>
Thu, 18 Sep 2014 17:20:43 +1200
changeset 216608 c5d415a669b5fc62c9cb8828842d195479289efa
parent 197258 8d9d227f75ee4d284ba2e2645886081006cac60c
child 220051 b5b1a8e8aee4c94b1dc2e60e751343afdeb6f72c
permissions -rwxr-xr-x
Bug 1061046. Part 19: Eliminate TrackTicks in favour of StreamTime. r=karlt

#!/bin/bash

set -e

cd `dirname $0`

source upstream.info

rm -rf src
git clone "$UPSTREAM_REPO" src
cd src
git checkout "$UPSTREAM_COMMIT"
autoconf
git describe --long --abbrev=40 > VERSION
rm -rf .git .gitignore autom4te.cache

patch -p1 < ../0001-Use-a-configure-test-to-detect-whether-to-use-a-cons.patch
patch -p1 < ../0002-Use-ULL-prefix-instead-of-LLU-for-unsigned-long-long.patch
patch -p1 < ../0003-Don-t-use-msvc_compat-s-C99-headers-with-MSVC-versio.patch
patch -p1 < ../0004-Try-to-use-__builtin_ffsl-if-ffsl-is-unavailable.patch
patch -p1 < ../0005-Check-for-__builtin_ffsl-before-ffsl.patch
patch -p1 < ../0006-Fix-clang-warnings.patch
patch -p1 < ../0007-Ensure-the-default-purgeable-zone-is-after-the-defau.patch
patch -p1 < ../0008-Allow-to-build-with-clang-cl.patch
patch -p1 < ../0009-Remove-srcroot-from-cfghdrs_in-cfgoutputs_in-and-cfg.patch

cd ..
hg addremove -q src

echo "jemalloc has now been updated.  Don't forget to run hg commit!"