Permalink
Commits on May 17, 2011
  1. allow disabling building of couchdb

    Aliaksey Kandratsenka committed with steveyen May 17, 2011
    Change-Id: I96aad9a904b33196e1867810dd3f42683657fbcd
    Reviewed-on: http://review.membase.org/6334
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on May 12, 2011
  1. NUKE_LA_FILES should be off by default.MB-3806

    Aliaksey Kandratsenka committed with alk May 11, 2011
    Change-Id: Iec6a0412e1111dbeb49ab73453fbed4efc09dbd7
    Reviewed-on: http://review.membase.org/6154
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. MB-3812 Build release code by default

    trondn committed with alk May 12, 2011
    In order to build unoptimized builds you need to set
    COUCHBASE_DEBUG_BUILD to a nonzero value. You may do this globally
    for all your builds in ~/.couchbase/build/Makefile.extra,
    or by executing:
    
    gmake COUCHBASE_DEBUG_BUILD=1 V=1
    
    Please note that you need to run:
    repo forall -c 'git clean -dfx'
    
    whenever you want to change this
    
    Change-Id: I92c413fcaed4b5f0267801e2589672149909af25
    Reviewed-on: http://review.membase.org/6175
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on May 10, 2011
  1. Don't install .la files

    trondn committed May 9, 2011
    Change-Id: I9c587d9b7bfa6fda53ae6a48435d4d96e4f6fa68
    Reviewed-on: http://review.membase.org/6087
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on May 7, 2011
  1. fixed replace-wrappers to always replace {memcached,moxi}.orig

    Aliaksey Kandratsenka committed with steveyen May 7, 2011
    Previous implementation kept old .orig files if they existed, so I was
    often running old memcached and old moxi.
    
    Change-Id: I8d1067b7802542877f9497eccb0bbf34d995a096
    Reviewed-on: http://review.membase.org/6040
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. use append mode for memcached logs from memcached-wrapper

    Aliaksey Kandratsenka committed with steveyen May 3, 2011
    Change-Id: I5a0950d0e997b55cf6c5b9e2b87ccd7e4ee79ace
    Reviewed-on: http://review.membase.org/6039
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  3. pass LIBRARY_OPTIONS to sigar configure

    Aliaksey Kandratsenka committed with steveyen May 1, 2011
    So that we don't waste time building two versions of libsigar
    
    Change-Id: I8cca7aae0911f302195ee0637869cc5ee85f443a
    Reviewed-on: http://review.membase.org/6038
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 21, 2011
  1. removed tlm/Makefile

    Aliaksey Kandratsenka committed with steveyen Apr 20, 2011
    Change-Id: Ia96dc1360bcf6624378c743923948232a979eaf0
    Reviewed-on: http://review.membase.org/5551
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. remove unneeded check against running make in tlm/

    Aliaksey Kandratsenka committed with steveyen Apr 20, 2011
    Change-Id: Ie5916ffbaf85a0e7abc36a8079334cdd94b59467
    Reviewed-on: http://review.membase.org/5550
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  3. added 'transitional' Makefile

    Aliaksey Kandratsenka committed with steveyen Apr 20, 2011
    Change-Id: I60764f271b2f643aee37fa95ab2cc6a1aa07f8bd
    Reviewed-on: http://review.membase.org/5553
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  4. rename Makefile to Makefile.top

    Aliaksey Kandratsenka committed with steveyen Apr 20, 2011
    We're moving towards situation where make invokation inside tlm will
    not find any Makefile.
    
    Change-Id: I301ff6e373871844a3a81e3f13090e170bc926be
    Reviewed-on: http://review.membase.org/5549
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 20, 2011
  1. Allow optional manifest.xml during make dist

    steveyen committed Apr 19, 2011
    Change-Id: Iad489c65926e10f3b88de45877d66ebbb53967cc
    Reviewed-on: http://review.membase.org/5529
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. top level make dist

    steveyen committed Apr 19, 2011
    The two untar attempts handle when some components have non-regular
    dist tarball names.  The "--strip-components 1" helps us rename
    directories from things like "memcached-1.4.4" to just "memcached".
    
    Change-Id: I59a0b31a578388f78e17571044775863b787238c
    Reviewed-on: http://review.membase.org/5528
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 19, 2011
  1. Copy membase cli to /opt/membase/bin

    bcui6611 committed with steveyen Apr 19, 2011
    Since we use a flattened bin directory structure, it is better to
    copy membase cli related py files to bin directory instead of cli
    directory.
    
    Change-Id: Iba1d5ef8612f99d5c6823b4b4a0f07157ae97eb5
    Reviewed-on: http://review.membase.org/5534
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. don't try building ns_server twice.MB-3631

    Aliaksey Kandratsenka committed with steveyen Apr 19, 2011
    Change-Id: I0a282ddabfbe70c220b982a32a98095c6e79b480
    Reviewed-on: http://review.membase.org/5527
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 16, 2011
  1. disable smp while building ns_server. MB-3631

    Aliaksey Kandratsenka committed with steveyen Apr 16, 2011
    As a workaround for (apparent) rebar bug, disable smp. When building
    with -j<N> we have enough work to allow for disabling of parallel .erl
    compilation.
    
    Change-Id: Ia7e045ce0059c01f71fe302dddd3521c182df8f0
    Reviewed-on: http://review.membase.org/5444
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. fixed AUTO_RECONFIG for voltron setup

    Aliaksey Kandratsenka committed with steveyen Apr 16, 2011
    Depending on .git/HEAD does not work if HEAD is a symbolic ref (common
    for voltron). git simply doesn't update this file in this case. So we
    have to do a bit more magic to 'expand' that reference.
    
    Change-Id: I91d364e7b727eec5d20e185f6b7c3f068154d336
    Reviewed-on: http://review.membase.org/5442
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  3. optionally rebuild configure if git HEAD is changed

    Aliaksey Kandratsenka committed with trondn Apr 16, 2011
    Only if AUTO_RECONFIG is set, just in case somebody is using custom
    ./configure flags and prefers manual ./configure runs.
    
    Change-Id: Ia033822b61d4ec4cf08ef0f499df30d8ae898984
    Reviewed-on: http://review.membase.org/5441
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  4. separate configure step from autotools step

    Aliaksey Kandratsenka committed with trondn Apr 15, 2011
    So that we can ship ./configure in .tar.gz
    
    Change-Id: I37d98da3c14725293fff33f3c3055ccb173da91a
    Reviewed-on: http://review.membase.org/5440
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  5. don't ignore ./configure failures inside ns_server

    Aliaksey Kandratsenka committed with trondn Apr 15, 2011
    It's now mandatory and fail-fast is always good idea
    
    Change-Id: I1a13574ebc6ede488c0a706f602d79dd956b6540
    Reviewed-on: http://review.membase.org/5439
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  6. Create a membase-cli task for build on windows

    bcui6611 committed with alk Apr 16, 2011
    Change-Id: I0a022802290cb076a69966aad091bf61911a06c7
    Reviewed-on: http://review.membase.org/5433
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Apr 14, 2011
  1. Add all .so files to lib/memcached directory

    bcui6611 committed with steveyen Apr 14, 2011
    Change-Id: Id53ac55f8c4022df017686d4c2f849acf3ab4f02
    Reviewed-on: http://review.membase.org/5394
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. Renamed to WIN_FLAGS

    steveyen committed Apr 14, 2011
    Change-Id: I772dd67dbe13bc9ee65fbdaa949659706d5ee930
    Reviewed-on: http://review.membase.org/5389
    Reviewed-by: Bin Cui <bin.cui@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  3. fixed replace-wrappers

    Aliaksey Kandratsenka committed with steveyen Apr 12, 2011
    Change-Id: Iead16e26cb6b1ae89b3883a912d37adc035c0bfe
    Reviewed-on: http://review.membase.org/5382
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  4. killed dev-symlink

    Aliaksey Kandratsenka committed with steveyen Apr 12, 2011
    Change-Id: Ib158e8ef9f2b83fdf047e253cc6a1b08b23c2b0b
    Reviewed-on: http://review.membase.org/5381
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  5. Just need to call make all to build memcached

    bcui6611 committed with steveyen Apr 14, 2011
    Since we put installation step outside of project makefile, it is
    better to simply call "make all" instead of "make install" to avoid
    inconsistent installation steps.
    
    Change-Id: I74ab8d01b0d0d721307c82477aa8271a104f95b5
    Reviewed-on: http://review.membase.org/5374
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  6. Copy build results to right staging directory

    bcui6611 committed with steveyen Apr 13, 2011
    All .exe files should go to /opt/membase/bin
    All .so files should go to /opt/membase/lib/memcached
    All python files should go to /opt/membase/bin
    
    Change-Id: I2a575eb602fa94c551a7f58403996dabe379f4c8
    Reviewed-on: http://review.membase.org/5367
    Tested-by: Bin Cui <bin.cui@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 7, 2011
  1. support configuring ns_server for voltron-support branch

    Aliaksey Kandratsenka committed with steveyen Apr 7, 2011
    Change-Id: Ibf069b2d7a7ea138a8fb2f6245f4def980e60c3a
    Reviewed-on: http://review.membase.org/5273
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. added replace-wrappers make target

    Aliaksey Kandratsenka committed with steveyen Apr 6, 2011
    Change-Id: Ib31283642343e5457ea541d1b1e71ce21bee4734
    Reviewed-on: http://review.membase.org/5272
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 5, 2011
  1. make-install-spidermonkey/icu4c instead of tmp

    steveyen committed with alk Apr 5, 2011
    Change-Id: Ib6e7025770e0e46c6160a342deb65e0f8b1734d5
    Reviewed-on: http://review.membase.org/5231
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Apr 2, 2011
  1. avoid needless subproject rebuilds by passing 'stable' includes

    Aliaksey Kandratsenka committed with steveyen Apr 2, 2011
    The trick is to pass CPPFLAGS prefer includes from sources, rather
    than from installed headers. Because make install always updates
    timestamps of installed headers causing needless rebuilds of depended
    subprojects.
    
    This avoids most of rebuilds. The only exception is few files in moxi
    that depend on libconflate, for which it's hard to pass -I<to-source>.
    
    Change-Id: Ib0a48c26a54af5948058cf4540bedd063ebd4ec0
    Reviewed-on: http://review.membase.org/5200
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. complain loudly when trying to use tlm from inside tlm

    Aliaksey Kandratsenka committed with steveyen Apr 2, 2011
    Change-Id: I7f729b2327fc42c1caac1be881573435d74bead9
    Reviewed-on: http://review.membase.org/5199
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  3. always make install subprojects

    Aliaksey Kandratsenka committed with steveyen Apr 2, 2011
    Previous approach was to rely on people doing make install inside
    changed subprojects, but that doesn't work well in practice, because
    people forget to do that.
    
    Change-Id: I5a1ef7ab446b9d1b064de665484ae3fbf5dbb2a5
    Reviewed-on: http://review.membase.org/5198
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 1, 2011
  1. cleaned up windows cross-compilation and made it work on amd64

    Aliaksey Kandratsenka committed with steveyen Apr 1, 2011
    Change-Id: I441889f0896ac4115ae945f56cf1c6e2fbbc8655
    Reviewed-on: http://review.membase.org/5195
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. made recent libmemcached compile under mingw32

    Aliaksey Kandratsenka committed with steveyen Apr 1, 2011
    Change-Id: I8eb65a105d12d5bab8a455f3018a0d9fb1b90759
    Reviewed-on: http://review.membase.org/5188
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>