Last active
October 8, 2017 17:29
-
-
Save tsloughter/8135f58949e7a3144bf7 to your computer and use it in GitHub Desktop.
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
{deps, [ | |
{eleveldb, {git, "https://github.com/basho/eleveldb.git", {branch, "master"}}} | |
]}. | |
{overrides, | |
[{override, eleveldb, [ | |
{pre_hooks, [{compile, "c_src/build_deps.sh get-deps"}, | |
{compile, "c_src/build_deps.sh"}]}, | |
{post_hooks, [{clean, "c_src/build_deps.sh clean"}]}, | |
{plugins, [ | |
{pc, {git, "[email protected]:blt/port_compiler.git", {branch, "master"}}} | |
]}, | |
{provider_hooks, [ | |
{post, | |
[ | |
{compile, {pc, compile}}, | |
{clean, {pc, clean}} | |
] | |
}] | |
} | |
] | |
}]}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried using this approach to compile elevedb and then tested it by loading the module in the shell
erl -pa ebin
it gives the following erroron the other hand it works well when compiled manually.