Skip to content
This repository
tree: f2391745f4
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 37 lines (29 sloc) 1.428 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
{port_specs, [{"priv/bitcask.so", ["c_src/*.c"]}]}.

{deps, [
        {meck, ".*", {git, "git://github.com/eproxus/meck"}}
       ]}.

{port_env, [
             %% Solaris specific flags
             {"solaris.*-64$", "CFLAGS", "-D_REENTRANT -m64"},
             {"solaris.*-64$", "LDFLAGS", "-m64"},

             %% OS X Leopard flags for 64-bit
             {"darwin9.*-64$", "CFLAGS", "-m64"},
             {"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},

             %% OS X Snow Leopard flags for 32-bit
             {"darwin10.*-32$", "CFLAGS", "-m32"},
             {"darwin10.*-32$", "LDFLAGS", "-arch i386"}
             ]}.

{eunit_compile_opts, [
                      %% Uncomment the following options to enable pulse testing. Note that
                      %% this will (currently) break all tests that do NOT use Pulse. As such,
                      %% this is most useful when used w/ rebar like so:
                      %% ./rebar compile eunit apps=bitcask suite=merge_pulse_qc
                      %%
                      %% NOTE: You'll have to do a "clean" to ensure everything gets compiled w/
                      %% the new flags!
                      %%
% {d, 'PULSE'},
% {pulse_side_effect, [{bitcask, get_filestate, '_'},
% {bitcask_nifs, keydir_get, '_'}]}
   
                  ]}.

{eunit_opts, [verbose]}.
Something went wrong with that request. Please try again.