Skip to content

Commit 8bd8613

Browse files
committed
Merge pull request #612 from samtools/dr_switch_to_intel_gkl
Switch to using the Intel GKL (Genomics Kernel Library) to pull down the Intel deflater, and remove the checked-in copy
2 parents 67714e0 + 9e166bc commit 8bd8613

File tree

16 files changed

+55
-1260
lines changed

16 files changed

+55
-1260
lines changed

build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ plugins {
1616

1717
repositories {
1818
mavenCentral()
19+
20+
// Include the Broad artifactory for intel-gkl snapshots. This is temporary
21+
// until intel-gkl is available on maven central.
22+
maven {
23+
url "https://artifactory.broadinstitute.org/artifactory/libs-snapshot/"
24+
}
1925
}
2026

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

4552
testCompile "org.testng:testng:6.9.9"
4653
}
@@ -65,12 +72,6 @@ jar {
6572
}
6673
}
6774

68-
processResources {
69-
into "lib/jni/", {
70-
from ("lib/jni/libIntelDeflater.so")
71-
}
72-
}
73-
7475
import org.gradle.internal.os.OperatingSystem;
7576

7677
tasks.withType(Test) {
@@ -83,7 +84,6 @@ tasks.withType(Test) {
8384

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

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

@@ -121,6 +121,7 @@ tasks.withType(Test) {
121121

122122
test {
123123
description = "Runs the unit tests other than the SRA tests"
124+
124125
useTestNG {
125126
if( OperatingSystem.current().isUnix() ){
126127
excludeGroups "slow", "broken", "sra", "intel"
@@ -131,7 +132,7 @@ test {
131132
}
132133

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

136137
description "Run the Intel Deflater tests"
137138
useTestNG {

lib/jni/libIntelDeflater.so

-524 KB
Binary file not shown.

scripts/build_intel_deflater.sh

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)