This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Keith James
committed
Jan 22, 2021
1 parent
55dc403
commit 20d9740
Showing
3 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
n="$CPU_COUNT" | ||
|
||
LD_LIBRARY_PATH=$PREFIX/lib ./configure --prefix="$PREFIX" \ | ||
CFLAGS="-I$PREFIX/include -I$PREFIX/include/irods" \ | ||
CPPFLAGS="-I$PREFIX/include -I$PREFIX/include/irods" \ | ||
LDFLAGS="-L$PREFIX/lib -L$PREFIX/lib/irods/externals" | ||
|
||
make -j $n | ||
make install prefix="$PREFIX" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{% set version = "2.1.0" %} | ||
{% set irods_version = "4.2.7" %} | ||
{% set sha256 = "a3f359f6bb1793a67dac1bbad8bbccf3d7bbbd0f66544cf8e5dbfd26322a1911" %} | ||
|
||
package: | ||
name: baton-pkg | ||
version: "{{ version }}" | ||
|
||
about: | ||
home: https://github.com/wtsi-npg/baton | ||
license: GPL2 | ||
summary: Client programs and API for use with iRODS (Integrated Rule-Oriented Data System). | ||
|
||
build: | ||
number: 1 | ||
|
||
source: | ||
url: https://github.com/wtsi-npg/baton/releases/download/{{ version }}/baton-{{ version }}.tar.gz | ||
fn: baton-{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
patches: | ||
- selfassign.patch | ||
|
||
requirements: | ||
build: | ||
- {{ compiler("c") }} | ||
- autoconf | ||
- automake | ||
- libtool | ||
- make | ||
- perl | ||
- pkg-config | ||
host: | ||
- irods-dev =={{ irods_version }} | ||
- irods-runtime =={{ irods_version }} | ||
- libjansson-dev | ||
- libssl-dev | ||
|
||
outputs: | ||
- name: baton | ||
version: {{ version }} | ||
requirements: | ||
build: | ||
- {{ compiler("c") }} | ||
- autoconf | ||
- automake | ||
- libtool | ||
- make | ||
- perl | ||
- pkg-config | ||
host: | ||
- irods-dev =={{ irods_version }} | ||
- libjansson-dev | ||
- libssl-dev | ||
run: | ||
- {{ pin_subpackage("libbaton", exact=True) }} | ||
- irods-runtime =={{ irods_version }} | ||
- libjansson | ||
- libssl | ||
files: | ||
- bin/baton-* | ||
test: | ||
commands: | ||
- baton-list --version | ||
|
||
- name: libbaton | ||
version: {{ version }} | ||
requirements: | ||
build: | ||
- {{ compiler("c") }} | ||
- autoconf | ||
- automake | ||
- libtool | ||
- make | ||
- perl | ||
- pkg-config | ||
host: | ||
- irods-dev =={{ irods_version }} | ||
- libjansson-dev | ||
- libssl-dev | ||
run: | ||
- irods-runtime =={{ irods_version }} | ||
- libjansson | ||
- libssl | ||
files: | ||
- lib/libbaton.* | ||
test: | ||
commands: | ||
- test -h ${PREFIX}/lib/libbaton.so | ||
|
||
- name: libbaton-dev | ||
version: {{ version }} | ||
requirements: | ||
run: | ||
- {{ pin_subpackage("libbaton", exact=True) }} | ||
files: | ||
- include/baton | ||
- lib/pkgconfig/baton.pc | ||
test: | ||
commands: | ||
- test -f ${PREFIX}/include/baton/baton.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/src/write.c b/src/write.c | ||
index df58ab6..6ea847c 100644 | ||
--- a/src/write.c | ||
+++ b/src/write.c | ||
@@ -213,11 +213,10 @@ int create_collection(rcComm_t *conn, rodsPath_t *rods_path, int flags, | ||
return error->code; | ||
} | ||
|
||
-int remove_data_object(rcComm_t *conn, rodsPath_t *rods_path, int flags, | ||
+int remove_data_object(rcComm_t *conn, rodsPath_t *rods_path, __attribute__((unused)) int flags, | ||
baton_error_t *error) { | ||
dataObjInp_t obj_rm_in; | ||
int status; | ||
- flags = flags; | ||
|
||
init_baton_error(error); | ||
|