Skip to content

RFC: iRODS support with autoconf#146

Closed
ghost wants to merge 6 commits intosamtools:developfrom
kjsanger:irods-autoconf
Closed

RFC: iRODS support with autoconf#146
ghost wants to merge 6 commits intosamtools:developfrom
kjsanger:irods-autoconf

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 10, 2014

An initial pass at adding configuration support for iRODS using autoconf. The intention
is that aside from running autoconf, all previous Makefile behaviour is preserved.

  • The original Makefile becomes Makefile.in, preserving the custom
    build behaviour. The package version and SO version are configured
    in configure.ac.
  • iRODS is off by default and enabled using --with-irods=/path/to/irods
    or just --with-irods where a default path is used.
  • A -O option has been added to test_view and
    "test_view.pl irods" will run test_view.pl as normal, but writing
    its results directly into iRODS.
  • The Travis config is updated to run configure.

jmarshall and others added 5 commits October 1, 2013 14:42
The code is only lightly tested, but hopefully feature complete.

Before merging, the configury (currently GNU Make-specific) will need to
be improved.  This awaits a configure script and probably --enable-irods
and/or --with-irods=IRODS_HOME configure options.
Conflicts:
	Makefile
	hfile.c
autoconf. The intention is that aside from running autoconf, all
previous Makefile behaviour is preserved.

    The original Makefile becomes Makefile.in, preserving the custom
    build behaviour. The package version and SO version are configured
    in configure.ac.

    iRODS is off by default and enabled using --with-irods=/path/to/irods
    or just --with-irods where a default path is used.

    A -O option has been added to test_view and
    "test_view.pl irods" will run test_view.pl as normal, but writing
    its results directly into iRODS.

    The Travis config is updated to run configure.
mcshane pushed a commit to mcshane/htslib that referenced this pull request Nov 20, 2014
autoconf to generate an optional config_auto.mk file to include.
@ghost
Copy link
Copy Markdown
Author

ghost commented Nov 21, 2014

I've modified this pull request to restore the original Makefile, but with an optional included makefile
generated by the configure script. I've used a header file too, but that is also ifdef'd.

@jmarshall jmarshall mentioned this pull request Jan 23, 2015
jmarshall added a commit that referenced this pull request Jan 27, 2015
This merge commit adds --with-irods[=DIR] support in configure.ac
and config.mk.in.

Addresses PR #146 with the exception of test harness iRODS support.
@jmarshall
Copy link
Copy Markdown
Member

Thanks for pushing this, Keith!

I've now merged the iRODS backend. The eventual configury, ermm..., doesn't bear a lot of resemblance to the configury in your pull request, but yours was very useful as a proof-of-concept and to crib parts from.

I haven't merged the test harness stuff, as that seems somewhat separate (and perhaps bound up with our local environment?). Please resurrect it as a new pull request if you wish, and we can merge it (more quickly this time!) post-1.2.

@jmarshall jmarshall closed this Jan 27, 2015
@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 27, 2015

Thanks for merging.

Regarding the tests - they are independent of our local environment. Of course, they could be destructive if run somewhere else without care (the post-test cleanup target will irm files matching a pattern in the iRODS cwd). All they do is allow the existing suite of test_view tests to be run while writing the data into iRODS. It's somewhat ugly, but I wanted some tests for the pull request while still focussing mainly on the autoconf part.

@ghost ghost deleted the irods-autoconf branch January 28, 2015 12:24
jkbonfield added a commit to jkbonfield/htslib that referenced this pull request Mar 11, 2026
Changelog from htscodecs:

- Prevent use of unaligned 16-bit integers from memmove.
  (PR samtools#145 Robert Davies)

- Add missing support for X_CAT in arithmetic codec.
  (PR samtools#146; Issue samtools#144 Michael Macias)
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