dlib 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed5064d7364d2b0d3eb4f413482f19712a652a6c
4
- data.tar.gz: d4733fec6407c546a27b86ad47b18956ea9d9dbc
3
+ metadata.gz: 112a9c264ad0121781155426f2c1af4777d6594a
4
+ data.tar.gz: 70aa6dc82f2dd583de7aace5031cfbccdcd9a499
5
5
  SHA512:
6
- metadata.gz: b08bdd23d392432440485c1797b64fd948f28b53c829b690c31bf78d9700d3a649ba788ca8fe6af7e68e8b86f0feb2b0088fbf5b4b4b1d5e13171011a13dcfe2
7
- data.tar.gz: 8ad4aa40343efff9ad826e2e48852be90d1ba80f6772c4f7975d9a4e4b9e2f6bbab1a0c8532cb205c98712d359f579898164b728628edd41629b3c3aecb6794b
6
+ metadata.gz: b7dc9ced54b0955f36fdaeaad194c45ce7ad312a181072f6ac070f135c3efb415f9a18d2f39bdfda2b4107e94a872c7625ef9c1810ff39d9b19d8c5b02a46dab
7
+ data.tar.gz: 0ea46ecc0eac65910ee8f160c251572f67d7174b5e8394764ad4faf131b269e2025c851874264d7f2c17b92c781612fb6a4acc61470dedfac0e46a6814b32853
@@ -7,12 +7,14 @@ DLIB_FUNCTIONS = \
7
7
  find_candidate_object_locations.inc \
8
8
  dnn_detector.inc \
9
9
  cuda.inc
10
- OBJS += $(DLIB_OJBS)
11
10
 
12
- NVCC_RESULT := $(shell which nvcc 2> /dev/null)
13
- NVCC_TEST := $(notdir $(NVCC_RESULT))
14
- ifeq ($(NVCC_TEST),nvcc)
15
- CUDA_NVCC = nvcc
11
+ # root user can't access nvcc command with relative pass because of their $PATH env
12
+ NVCC_TEST := $(shell command -v /usr/local/cuda/bin/nvcc 2> /dev/null)
13
+ ifdef NVCC_TEST
14
+
15
+ $(info Found nvcc! at $(NVCC_TEST))
16
+
17
+ CUDA_NVCC = $(NVCC_TEST)
16
18
  CUDA_FLAGS = -DDLIB_USE_CUDA -I /usr/local/cuda/include -arch=sm_30 -D__STRICT_ANSI__ -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -std=c++11 -Xcompiler -fPIC -Xcompiler -funwind-tables
17
19
  DLIB_CUDA_SRCS = $(DLIB_SRCDIR)/dlib/dnn/curand_dlibapi.cpp \
18
20
  $(DLIB_SRCDIR)/dlib/dnn/cudnn_dlibapi.cpp \
@@ -34,3 +34,6 @@ end
34
34
 
35
35
  have_func('rb_get_kwargs')
36
36
  create_makefile('dlib')
37
+
38
+ # dry run Makefile and get debug info
39
+ system('make -n')
@@ -1,3 +1,3 @@
1
1
  module Dlib
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenta Murata
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-07 00:00:00.000000000 Z
12
+ date: 2017-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler