Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
4692871d
Commit
4692871d
authored
8 years ago
by
Amir Mohammadi
Browse files
Options
Downloads
Patches
Plain Diff
from-scratch.sh - export ARCH=64
parent
2f592458
No related branches found
No related tags found
1 merge request
!35
update install scripts to use our own channel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/from-scratch.sh
+10
-7
10 additions, 7 deletions
install/from-scratch.sh
with
10 additions
and
7 deletions
install/from-scratch.sh
+
10
−
7
View file @
4692871d
...
...
@@ -28,10 +28,18 @@ else
CAFFE
=
fi
# This is needed for toolchain. Since we just use 64-bit, I am not checking if
# the system is 32 bit.
export
ARCH
=
64
# For a complete list of dependencies, please read:
# https://gitlab.idiap.ch/bob/bob/wikis/Dependencies
echo
"[>>] Creating environment
${
NAME
}
for python
${
PYTHON_VERSION
}
with bob dependencies..."
${
CONDA
}
create
--yes
-n
${
NAME
}
--override-channels
-c
https://www.idiap.ch/software/bob/conda
-c
defaults
python
=
$PYTHON_VERSION
\
${
CONDA
}
create
--yes
-n
${
NAME
}
\
--override-channels
\
-c
https://www.idiap.ch/software/bob/conda
\
-c
defaults
\
python
=
$PYTHON_VERSION
\
anaconda
=
4.2.0
\
boost
=
1.61
\
${
CAFFE
}
\
...
...
@@ -73,11 +81,6 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c https://www.idiap.ch/sof
virtualenv
\
vlfeat
=
0.9.20
# Commented out while @amohammadi fixes it in conda-forge
#if [ "$(uname)" == "Linux" ] && [ ${PYTHON_VERSION} == "2.7" ]; then
# ${CONDA} install --yes -n ${NAME} --override-channels -c conda-forge -c defaults caffe
#fi
echo
"[>>] Pip-installing extra dependencies in environment
${
NAME
}
for
${
PYTHON_VERSION
}
..."
source
${
BASEDIR
}
/bin/activate
${
NAME
}
...
...
@@ -86,7 +89,7 @@ cyvlfeat=git+https://github.com/menpo/cyvlfeat@v0.4.5
if
[
"
$(
uname
)
"
==
"Linux"
]
;
then
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl -Wl,-rpath=
${
CONDA_PREFIX
}
/lib"
pip
--no-cache-dir
install
${
cyvlfeat
}
else
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl
-Wl,-headerpad_max_install_names
"
pip
--no-cache-dir
install
${
cyvlfeat
}
CFLAGS
=
"-I
${
CONDA_PREFIX
}
/include"
LDFLAGS
=
"-L
${
CONDA_PREFIX
}
/lib -lvl"
pip
--no-cache-dir
install
${
cyvlfeat
}
fi
pip
--no-cache-dir
install
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment