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

H3 develop: build fixes for Solaris #3

Merged
merged 6 commits into from
Jul 14, 2016
Merged

H3 develop: build fixes for Solaris #3

merged 6 commits into from
Jul 14, 2016

Conversation

sjaenick
Copy link
Contributor

Fix Solaris build

implementation if the OS doesn't provide it (e.g. Solaris)
    inet_* functionality; add autoconf checks and fix linking for
    hmmc2 and hmmpgmd, if necessary
@cryptogenomicon
Copy link
Member

Hi Sebastien,

Looks good. I'd like to pull this in. A question and an issue first...

This is for Intel Solaris, right? We don't yet support SPARC Solaris in HMMER3, because we still need to port to SPARC VIS SIMD instructions.

Can you find an implementation of strsep() that's got a BSD-compatible license? We will be switching to the BSD license soon, which means we can't incorporate any third-party GPL code. Also, we need to retain copyright/license info on code fragments that we include, so please include that in the comment header for the function.

Thanks!
Sean

@sjaenick
Copy link
Contributor Author

Hi Sean,

Intel Solaris, yes. I guess the user base for SPARC isn't large enough to even consider maintaining a port (especially given big endian and VIS SIMD).

I'll update this with a FreeBSD-based strsep() and some infrastructure to ease future compatibility with non-Linux OSs.

  • Sebastian

@sjaenick
Copy link
Contributor Author

Sean,

feel free to merge; I also opened a pull request for easel with some minor changes.

Sebastian

@cryptogenomicon cryptogenomicon merged commit 7ca9751 into EddyRivasLab:h3-develop Jul 14, 2016
@cryptogenomicon
Copy link
Member

Hi Sebastien,

Excellent, thanks for this. I've merged it in, but also made some revisions. I moved strsep() into our Easel library and handle it the way we handle similar portability issues; and removed src/compat as a result. I think it's fine for ${LIBS} to include -lsocket and -lnsl even for non-network programs, so I removed NETPROGS and SOCKETLIBS from configure.ac and Makefile.in to simplify.

I don't have a Solaris machine to test on, so you'll want to verify that I haven't messed up your port by doing this!

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.

None yet

2 participants