Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: igp-binary-sup…
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (10 sloc) 0.479 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{so_name, "stm_erl.so"}.

{port_sources, ["c_src/*.c"]}.

{port_envs, [
             %% Make sure to set -fPIC when compiling leveldb
             {"CFLAGS", "$CFLAGS -fPIC"},
             {"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/tinySTM/include -I c_src/tinySTM/src/atomic_ops"},
             {"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/tinySTM/lib/libstm.a"}
             ]}.

{pre_hooks, [{compile, "c_src/build_deps.sh"}]}.

{post_hooks, [{clean, "c_src/build_deps.sh clean"}]}.
Something went wrong with that request. Please try again.