This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Formula/libogg.rb b/Library/Formula/libogg.rb | |
index 2764176..896465f 100644 | |
--- a/Library/Formula/libogg.rb | |
+++ b/Library/Formula/libogg.rb | |
@@ -14,6 +14,8 @@ class Libogg < Formula | |
end | |
def install | |
+ ENV.universal_binary if build.universal? | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install libogg --universal -v | |
==> Downloading http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/libogg-1.3.0.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/libogg-1.3.0.tar.gz | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libogg/1.3.0 | |
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libogg/1.3.0 | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew --env | |
CC: cc | |
CXX: c++ | |
MAKEFLAGS: -j2 | |
CMAKE_PREFIX_PATH: /usr/local | |
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/ | |
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries | |
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/mountain_lion | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
OBJC: cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bench && bin/bench -p name -v "\"*\"" --json ../../subjson/jsondata/brewery_5k.json -c upsert -i 1 | |
[ 50%] Built target platform | |
[100%] Built target subjson | |
[100%] Built target bench | |
Reading ../../subjson/jsondata/brewery_5k.json | |
{ | |
"name": "*", | |
"city": "Portland", | |
"state": "Maine", | |
"code": "4103", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
int main(int argc, char** argv) { | |
std::string mode(argv[1]); | |
size_t size(std::stoi(argv[2])); | |
if (mode == "malloc") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# fix_date.py - corrects the received date in IMAP folders. | |
# Description: | |
# When moving mail between IMAP servers, the received date can become | |
# reset to the date when the message was added to the new server. This | |
# script attempts to fix this by setting the received date to the date the | |
# message was sent. | |
# Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/server-overlay-rpm/etc/couchbase_init.d.tmpl | |
+++ b/server-overlay-rpm/etc/couchbase_init.d.tmpl | |
@@ -47,13 +47,13 @@ | |
ulimit -n 40960 | |
ulimit -c unlimited | |
ulimit -l unlimited | |
- daemon --user @@PRODUCT_BASE@@ "$DAEMON -- -noinput -detached > @@PREFIX@@/var/lib/@@PRODUCT_BASE@@/logs/start.log 2>&1" | |
+ daemon --user @@PRODUCT_BASE@@ "$DAEMON" -- -noinput -detached > @@PREFIX@@/var/lib/@@PRODUCT_BASE@@/logs/start.log 2>&1 | |
errcode=$? | |
return $errcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Related to: http://review.couchbase.org/#/c/58557/ | |
From: http://factory.couchbase.com/job/ep-engine-threadsanitizer-master/1268/consoleText | |
WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock) (pid=119209) | |
Cycle in lock order graph: M19289 (0x7d540000f8f0) => M19325 (0x7d480000b8e0) => M15588 (0x7d6400007fa8) => M19289 | |
Mutex M19325 acquired here while holding mutex M19289 in main thread: | |
#0 pthread_mutex_lock <null> (engine_testapp+0x0000004865a0) | |
#1 std::mutex::lock() /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9/bits/gthr-default.h:748 (ep.so+0x000000062fa2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-01-28T11:12:25.907307Z NOTICE (default) DCP (Producer) eq_dcpq:mapreduce_view: default _design/dev_primary (prod/replica) - (vb 342) Creating stream with start seqno 222 and end seqno 229 | |
2016-01-28T11:12:25.907628Z NOTICE (default) DCP (Producer) eq_dcpq:mapreduce_view: default _design/dev_primary (prod/replica) - (vb 342) Sending disk snapshot with start seqno 222 and end seqno 232 | |
2016-01-28T11:12:25.907882Z NOTICE (default) DCP (Producer) eq_dcpq:mapreduce_view: default _design/dev_primary (prod/replica) - (vb 342) Backfill complete, 0 items read from disk, 2 from memory, last seqno read: 232 | |
2016-01-28T11:12:25.908410Z NOTICE (default) DCP (Producer) eq_dcpq:mapreduce_view: default _design/dev_primary (prod/replica) - (vb 342) Stream closing, 2 items sent from backfill phase, 0 items sent from memory phase, 232 was last seqno sent, reason: The stream ended due to all items being streamed | |
2016-01-28T11:12:25.909233Z NOTICE (default) DCP (Producer) eq_dcpq:mapreduce_view: default _design/dev_primary ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-01-29T14:31:00.116690Z NOTICE (default) Shutting down TAP,DCP connections for bucket whose cookie is: 0x10402a3f8 | |
2016-01-29T14:31:00.116820Z NOTICE (default) Shutting down tap connections! | |
2016-01-29T14:31:00.116951Z NOTICE (default) Shutting down dcp connections! | |
2016-01-29T14:31:00.118325Z NOTICE (default) Clean up "eq_dcpq:mapreduce_view: default _design/test (prod/replica)" | |
2016-01-29T14:31:00.118536Z NOTICE 43 The connected bucket is being deleted.. disconnecting | |
2016-01-29T14:31:00.118525Z NOTICE (default) Clean up "eq_dcpq:mapreduce_view: default _design/test (prod/main)" | |
2016-01-29T14:31:00.119926Z NOTICE 37 The connected bucket is being deleted.. disconnecting | |
2016-01-29T14:31:00.119946Z NOTICE >36 Delete bucket [default]. Wait for clients to disconnect | |
2016-01-29T14:31:00.121064Z NOTICE 36 Delete bucket [default]. Still waiting: 6 clients connected | |
2016-01-29T14:31:00.121336Z NOTICE 41 The connected bucket is being deleted.. disconnecting |
OlderNewer