Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add couchdb 3.1.1 #55

Merged
merged 2 commits into from
Oct 4, 2020
Merged

Add couchdb 3.1.1 #55

merged 2 commits into from
Oct 4, 2020

Conversation

joaohf
Copy link
Member

@joaohf joaohf commented Sep 20, 2020

Based on the initial recipe [1]. couchdb prefers embedded an erts and
reltool needs to be patched up (root_dir and excl_sys_filters) in order
to use the cross compiled erts.

Important: couchdb supports the following erlang versions:

(19.x, 20.x >= 21.3.8.5, 21.x >= 21.2.3, 22.x >= 22.0.5)

So, consider using a supported version as PREFERRED_VERSION. Like this:

PREFERRED_VERSION_erlang = "22.3"
PREFERRED_VERSION_erlang-native = "22.3"

Thanks @jpnurmi for the initial work and tests.

1: #54

closes: #54

@joaohf
Copy link
Member Author

joaohf commented Sep 20, 2020

@jpnurmi, I need to run more tests. At least the recipe works. I mean, no package or compile errors.

I just fixed the reltool.config (http://erlang.org/doc/man/reltool.html) adding the root_dir and excluding the static libraries from the final release.

I'll run couchdb using qemu and see the results.

couchdb ships an ERTS together with the final release. This is a good approach. But, for the meta-erlang I would like to see an additional option that is to use the erts from the image.

@jpnurmi
Copy link

jpnurmi commented Sep 20, 2020

@joaohf So cool, thanks for taking the time! I'm also going to give it a spin! ;)

@jpnurmi
Copy link

jpnurmi commented Sep 20, 2020

Screenshot from 2020-09-20 21-43-20

Based on the initial recipe [1]. couchdb prefers embedded an erts and
reltool needs to be patched up (root_dir and excl_sys_filters) in order
to use the cross compiled erts.

Important: couchdb supports the following erlang versions:

(19.x, 20.x >= 21.3.8.5, 21.x >= 21.2.3, 22.x >= 22.0.5)

So, consider using a supported version as PREFERRED_VERSION. Like this:

    PREFERRED_VERSION_erlang = "22.3"
    PREFERRED_VERSION_erlang-native = "22.3"

Thanks @jpnurmi for the initial work and tests.

1: #54

closes: #54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Wishlist] CouchDB recipe
2 participants