Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

noodling with libzmq linking #824

Merged
merged 61 commits into from
Jan 10, 2019
Merged

Conversation

thedavidmeister
Copy link
Contributor

@thedavidmeister thedavidmeister commented Jan 7, 2019

changes

  • includes our own zmq-sys so that LIBZMQ_PREFIX is never needed
    • effectively a simplified, hardcoded version of what the environment variables do upstream
    • sits the zmq vendor file inside this
  • adds an install script for ubuntu that includes a working libzmq
  • runs against a cold ubuntu box on circle to demonstrate installation (develop branch only)
  • removes LIBZMQ_PREFIX from windows builds on travis
  • copies the zmq dll into the CARGO dir so it can be found on the path by the compiler build scripts
  • removes the PATH logic for libzmq on travis/windows
  • adds --release to cargo tests on travis to alleviate pressure on the cache (was timing out uploads)
  • updates docs
  • shifts test cmd to circle because it breaks on travis (doesn't run standard installation)

@thedavidmeister thedavidmeister changed the title SPIKE: noodling with libzmq linking WIP: noodling with libzmq linking Jan 10, 2019
@thedavidmeister thedavidmeister changed the title WIP: noodling with libzmq linking noodling with libzmq linking Jan 10, 2019
#[cfg(windows)]
// hack to get the libzmq dll on the PATH
// copies it next to cargo
// kind of messy, is less than 1MB
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I like this as an interim solution until we get static linking working... since this is where cargo install will put the binaries in any case.

Copy link
Contributor

@neonphog neonphog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, this looks awesome

@Connoropolous
Copy link
Collaborator

this is a big improvement for usability, externally. Yay!

Will seek to bring any related documentation in line with this

@thedavidmeister thedavidmeister merged commit 659529c into develop Jan 10, 2019
@zippy zippy deleted the 2019-01-07-static-libzmq branch July 5, 2019 13:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants