Skip to content

Commit 62ccbc7

Browse files
committed
Merge branch 'pmarks/deps'
2 parents 918528e + 25aa19d commit 62ccbc7

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

intel-mkl-tool/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "intel-mkl-tool"
3-
version = "0.2.0+mkl2020.1"
3+
version = "0.2.1+mkl2020.1"
44
authors = ["Toshiki Teramura <[email protected]>"]
55
edition = "2018"
66

@@ -24,7 +24,7 @@ pkg-config = "0.3.17"
2424
# archive
2525
curl = { version = "0.4.29", optional = true }
2626
tar = { version = "0.4.29", optional = true }
27-
zstd = { version = "0.6.1", optional = true }
27+
zstd = { version = "<=0.11, >=0.6", optional = true }
2828

2929
# CLI
3030
structopt = { version = "0.3.15", optional = true }

intel-mkl-tool/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::*;
1+
use anyhow::{bail, Result};
22
use derive_more::Display;
33

44
pub const VALID_CONFIGS: &[&str] = &[

intel-mkl-tool/src/download.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
use crate::*;
1+
use crate::{s3_addr, Config};
2+
use anyhow::Result;
23
use curl::easy::Easy;
3-
use std::fs;
4+
use std::{fs, path::Path};
45

56
impl Config {
67
/// Download archive from AWS S3, and expand into `${out_dir}/*.so`

intel-mkl-tool/src/entry.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
use crate::*;
1+
use crate::{mkl, xdg_home_path, Config, LinkType, VALID_CONFIGS};
2+
use anyhow::{bail, Result};
23
use derive_more::Deref;
34
use std::{
45
collections::{HashMap, HashSet},
56
fs,
67
io::{self, BufRead},
8+
path::{Path, PathBuf},
79
};
810

911
#[derive(Debug, Deref)]

intel-mkl-tool/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@
9292
9393
#![cfg_attr(not(feature = "archive"), allow(dead_code))]
9494

95-
use anyhow::{bail, Result};
96-
use std::path::{Path, PathBuf};
95+
use std::path::PathBuf;
9796

9897
mod config;
9998
mod entry;

intel-mkl-tool/src/package.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
use crate::*;
2-
use std::{fs, io};
1+
use crate::Entry;
2+
use anyhow::{bail, Result};
3+
use std::{
4+
fs, io,
5+
path::{Path, PathBuf},
6+
};
37

48
impl Entry {
59
pub fn package(&self, out_dir: &Path) -> Result<PathBuf> {

0 commit comments

Comments
 (0)