Reverting dlib install change because it did very little to speed up tests

This reverts commit 1714579e6e.
This commit is contained in:
boltgolt 2019-01-03 15:05:53 +01:00
parent 1714579e6e
commit 133f9a5ccb
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26
2 changed files with 63 additions and 72 deletions

View file

@ -3,9 +3,6 @@ language: python
python: "3.6" python: "3.6"
script: script:
- pip3 install --upgrade pip
- pip3 install dlib
# Build the binary (.deb) # Build the binary (.deb)
- debuild -i -us -uc -b - debuild -i -us -uc -b
# Install the binary, running the debian scripts in the process # Install the binary, running the debian scripts in the process
@ -35,4 +32,3 @@ addons:
- devscripts - devscripts
- fakeroot - fakeroot
- pamtester - pamtester
- python3-pip

5
debian/postinst vendored
View file

@ -104,10 +104,6 @@ handleStatus(subprocess.call(["./install.sh"], shell=True, cwd="/lib/security/ho
log("Downloading dlib") log("Downloading dlib")
if "HOWDY_SKIP_DLIB" in os.environ:
print(col(2) + "SKIPPING DLIB INSTALLATION BECAUSE OF HOWDY_SKIP_DLIB FLAG" + col(0))
else:
dlib_archive = "/tmp/v19.16.tar.gz" dlib_archive = "/tmp/v19.16.tar.gz"
loader = which("wget") loader = which("wget")
LOADER_CMD = None LOADER_CMD = None
@ -153,7 +149,6 @@ cmd = ["sudo", "python3", "setup.py", "install"]
cuda_used = False cuda_used = False
flags = "" flags = ""
if "HOWDY_SKIP_DLIB" not in os.environ:
# Get the CPU details # Get the CPU details
with open("/proc/cpuinfo") as info: with open("/proc/cpuinfo") as info:
for line in info: for line in info: