Skip to content

Commit

Permalink
Merge pull request #612 from samtools/dr_switch_to_intel_gkl
Browse files Browse the repository at this point in the history
Switch to using the Intel GKL (Genomics Kernel Library) to pull down the Intel deflater, and remove the checked-in copy
  • Loading branch information
droazen committed May 27, 2016
2 parents 67714e0 + 9e166bc commit 8bd8613
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 1,260 deletions.
17 changes: 9 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ plugins {

repositories {
mavenCentral()

// Include the Broad artifactory for intel-gkl snapshots. This is temporary
// until intel-gkl is available on maven central.
maven {
url "https://artifactory.broadinstitute.org/artifactory/libs-snapshot/"
}
}

jacocoTestReport {
Expand All @@ -41,6 +47,7 @@ dependencies {
compile "org.apache.commons:commons-compress:1.4.1"
compile "org.tukaani:xz:1.5"
compile "gov.nih.nlm.ncbi:ngs-java:1.2.2"
compile "com.intel:intel-gkl:0.0.1-20160525.160915-2"

testCompile "org.testng:testng:6.9.9"
}
Expand All @@ -65,12 +72,6 @@ jar {
}
}

processResources {
into "lib/jni/", {
from ("lib/jni/libIntelDeflater.so")
}
}

import org.gradle.internal.os.OperatingSystem;

tasks.withType(Test) {
Expand All @@ -83,7 +84,6 @@ tasks.withType(Test) {

jvmArgs '-Djava.awt.headless=true' //this prevents awt from displaying a java icon while the tests are running


if (System.env.CI == "true") { //if running under a CI output less into the logs
int count = 0

Expand Down Expand Up @@ -121,6 +121,7 @@ tasks.withType(Test) {

test {
description = "Runs the unit tests other than the SRA tests"

useTestNG {
if( OperatingSystem.current().isUnix() ){
excludeGroups "slow", "broken", "sra", "intel"
Expand All @@ -131,7 +132,7 @@ test {
}

task testIntelDeflater(type: Test){
jvmArgs '-Dsamjdk.intel_deflater_so_path=lib/jni/libIntelDeflater.so'
jvmArgs '-Dsamjdk.try_use_intel_deflater=true'

description "Run the Intel Deflater tests"
useTestNG {
Expand Down
Binary file removed lib/jni/libIntelDeflater.so
Binary file not shown.
78 changes: 0 additions & 78 deletions scripts/build_intel_deflater.sh

This file was deleted.

Loading

0 comments on commit 8bd8613

Please sign in to comment.