You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/01/06 18:14:55 UTC

[couchdb-hqueue] branch windows-build-fix updated (b504cc3 -> 55c1808)

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a change to branch windows-build-fix
in repository https://gitbox.apache.org/repos/asf/couchdb-hqueue.git.


 discard b504cc3  Special-case Windows build flags
     new 55c1808  Special-case Windows build flags

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b504cc3)
            \
             N -- N -- N   refs/heads/windows-build-fix (55c1808)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 rebar.config.script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[couchdb-hqueue] 01/01: Special-case Windows build flags

Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch windows-build-fix
in repository https://gitbox.apache.org/repos/asf/couchdb-hqueue.git

commit 55c18085692df728a35728f31d38becce38d6c07
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Mon Jan 6 10:07:04 2020 -0800

    Special-case Windows build flags
---
 rebar.config.script | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rebar.config.script b/rebar.config.script
index 50bbd22..dba890e 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -13,7 +13,8 @@ ErlOpts =
     {"priv/hqueue.so", ["c_src/hqueue*.c"]}
 ]},
 {port_env, [
-    {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -DHQ_ENIF_ALLOC -O3"}
+    {"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS -g -Wall -Werror -DHQ_ENIF_ALLOC -O3"},
+    {"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /DHQ_ENIF_ALLOC /Dinline=__inline /Wall"}
     %% {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -Wextra"}
 ]},
 {eunit_opts, [verbose]},