Skip to content

Commit

Permalink
Merge pull request #197 from bobsummerwill/force_osx_binaries_to_debug
Browse files Browse the repository at this point in the history
Temporarily forcing OS X binaries to Debug as a workaround for the Heisenbug
  • Loading branch information
bobsummerwill authored Jun 9, 2016
2 parents bff5c69 + d3b1bfa commit 30ec167
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/ethbinaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,18 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then

if [[ $DEV_TEST -eq 1 ]]; then
echo "ETHBINARIES - INFO: Building MacOSX for development test.";
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
# Temporarily forcing OS X binaries to Debug as a workaround for the Heisenbug.
# Ideally we would only have built Mix in Debug, but it turns out that is close
# to impossible because of the existing umbrella setup, so we'll do a
# quick-and-dirty for the time being. We will be able to do this better when
# the repositories are restructured.
#
# See "OS X - Can we switch the Mix binaries to be Debug?"
# https://github.com/ethereum/webthree-umbrella/issues/546
#
# See "Fix the Heisenbug!"
# https://github.com/ethereum/webthree-umbrella/issues/565
cmake .. -DCMAKE_BUILD_TYPE=Debug #RelWithDebInfo
make -j4
if [[ $? -ne 0 ]]; then
echo "ETHBINARIES - ERROR: Building for Macosx failed.";
Expand Down

0 comments on commit 30ec167

Please sign in to comment.