Skip to content

Commit 2cdbe39

Browse files
committed
Add helpful error message for missing src/cpu_info.jl.
1 parent fcfdd26 commit 2cdbe39

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "VectorizationBase"
22
uuid = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
33
authors = ["Chris Elrod <elrodc@gmail.com>"]
4-
version = "0.12.4"
4+
version = "0.12.5"
55

66
[deps]
77
CpuId = "adafc99b-e345-5852-983c-f28acb93d879"

src/VectorizationBase.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module VectorizationBase
22

3+
isfile(joinpath(@__DIR__, "cpu_info.jl")) || throw("File $(joinpath(@__DIR__, "cpu_info.jl")) does not exist. Please run `using Pkg; Pkg.build()`.")
4+
35
using LinearAlgebra
46

57
export Vec, VE, SVec, Mask, _MM,

0 commit comments

Comments
 (0)