Skip to content

Conversation

@srh
Copy link
Contributor

@srh srh commented Mar 30, 2022

Makes build-rpm.sh fetch explicitly which deps it wants to statically link.

Also, makes us only build libquickjs.a, not the entire quickjs "make install" (hence, "make all") target, and disables a couple of exotic QuickJS features: workers and atomics. This gets building for CentOS 7 users working. It also gets Ubuntu Trusty and Debian Jessie package building working.

JS workers and atomics were disabled with the intent to get the build to succeed, but it's also desirable on its own to have that disabled.

Checklist

srh added 6 commits March 25, 2022 10:03
This avoids C11 compilation issues on older platforms,
including CentOS 7, and probably, ancient Ubuntus and Debians
still in super-extended paid support that we do not support.
This avoids another stdatomic issue, and certainly is not relevant to
RethinkDB.
This addresses CentOS 7 linking issues.

It is possible the USE_WORKER and CONFIG_ATOMICS changes were only
relevant for binaries, not the static library.  I have not checked
closely.
@srh srh merged commit 191d727 into rethinkdb:v2.4.x Mar 30, 2022
@srh srh deleted the srh/buildrpm branch March 30, 2022 13:26
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.

1 participant