Brian Mitchell created COUCHDB-2513:
---------------------------------------
Summary: Improve CouchDB rebar build scripts
Key: COUCHDB-2513
URL: https://issues.apache.org/jira/browse/COUCHDB-2513
Project: CouchDB
Issue Type: Improvement
Security Level: public (Regular issues)
Components: Build System
Reporter: Brian Mitchell
I've worked on improving the rebar build process over the past week after
having many issues on different machines which all required editing of various
source controlled files in order to get things to build.
The effort focusses on simplifying most of the rebar specific configuration. In
most cases this means moving things out of scripts and into vanilla config
files to make it clear what the defaults are. The other part is handling build
flags for ports which include separate flags for each port properly to allow
the user to pass in new configuration via environment variables.
Finally, I have a user.config file which can be placed in the couch directory
which can be generated by configure scripts. This allows merging in persistent
values for building (for example, I often have non-standard icu4c paths so I'll
ensure those are put into this file).
There is a bit more work to be done cleaning up the configure script side of
things but you can find a work in progress over at this git repo:
https://github.com/strmpnk/couchdb-couch. I've also got more experimental
changes at https://github.com/strmpnk/couchdb though I've not split out the
build specific changes into a branch yet.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)