-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #836 from COMBINE-lab/develop
Develop
- Loading branch information
Showing
10 changed files
with
78 additions
and
42 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
This file was deleted.
Oops, something went wrong.
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,44 @@ | ||
############################################################################### | ||
# Find Cereal | ||
# | ||
# This sets the following variables: | ||
# CEREAL_FOUND - True if Cereal was found. | ||
# CEREAL_INCLUDE_DIRS - Directories containing the Cereal include files. | ||
# CEREAL_DEFINITIONS - Compiler flags for Cereal. | ||
|
||
find_path(CEREAL_INCLUDE_DIR cereal | ||
HINTS "${CEREAL_ROOT}/include" "$ENV{CEREAL_ROOT}/include" "/usr/include" "$ENV{PROGRAMFILES}/cereal/include") | ||
|
||
set(CEREAL_INCLUDE_DIRS ${CEREAL_INCLUDE_DIR}) | ||
|
||
if(CEREAL_INCLUDE_DIR) | ||
set(CEREAL_FOUND YES) | ||
set(CEREAL_VERSION_MAJOR 0) | ||
set(CEREAL_VERSION_MINOR 0) | ||
set(CEREAL_VERSION_PATCH 0) | ||
if(EXISTS "${CEREAL_INCLUDE_DIR}/cereal/version.hpp") | ||
# Read and parse cereal version header file for version number | ||
file(READ "${CEREAL_INCLUDE_DIR}/cereal/version.hpp" | ||
_CEREAL_HEADER_CONTENTS) | ||
string(REGEX REPLACE ".*#define CEREAL_VERSION_MAJOR ([0-9]+).*" "\\1" | ||
CEREAL_VERSION_MAJOR "${_CEREAL_HEADER_CONTENTS}") | ||
string(REGEX REPLACE ".*#define CEREAL_VERSION_MINOR ([0-9]+).*" "\\1" | ||
CEREAL_VERSION_MINOR "${_CEREAL_HEADER_CONTENTS}") | ||
string(REGEX REPLACE ".*#define CEREAL_VERSION_PATCH ([0-9]+).*" "\\1" | ||
CEREAL_VERSION_PATCH "${_CEREAL_HEADER_CONTENTS}") | ||
set(CEREAL_VERSION_STRING "${CEREAL_VERSION_MAJOR}.${CEREAL_VERSION_MINOR}.${CEREAL_VERSION_PATCH}") | ||
else() | ||
set(CEREAL_FOUND NO) | ||
endif() | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(cereal | ||
REQUIRED_VARS CEREAL_INCLUDE_DIR | ||
VERSION_VAR CEREAL_VERSION_STRING) | ||
|
||
mark_as_advanced(CEREAL_INCLUDE_DIR) | ||
|
||
if(CEREAL_FOUND) | ||
message(STATUS "cereal found (include: ${CEREAL_INCLUDE_DIRS})") | ||
endif(CEREAL_FOUND) |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
VERSION_MAJOR 1 | ||
VERSION_MINOR 10 | ||
VERSION_PATCH 0 | ||
VERSION_PATCH 1 |
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
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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ MAINTAINER [email protected] | |
|
||
ENV PACKAGES git gcc make g++ libboost-all-dev liblzma-dev libbz2-dev \ | ||
ca-certificates zlib1g-dev libcurl4-openssl-dev curl unzip autoconf apt-transport-https ca-certificates gnupg software-properties-common wget | ||
ENV SALMON_VERSION 1.10.0 | ||
ENV SALMON_VERSION 1.10.1 | ||
|
||
# salmon binary will be installed in /home/salmon/bin/salmon | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#! /bin/bash | ||
SALMON_VERSION=1.10.0 | ||
docker build --no-cache -t combinelab/salmon:${SALMON_VERSION} -t combinelab/salmon:latest . | ||
SALMON_VERSION=1.10.1 | ||
TMPDIR=/mnt/scratch2/DELETE_ME_TEMP docker build --no-cache -t combinelab/salmon:${SALMON_VERSION} -t combinelab/salmon:latest . |
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
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