Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
bf154dfe
Commit
bf154dfe
authored
9 years ago
by
Pospelov, Gennady
Browse files
Options
Downloads
Patches
Plain Diff
Fixes in vagrant files for mavericks-dev configuration
parent
6185fd2d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dev-tools/deployment/mavericks-dev/Vagrantfile
+0
-57
0 additions, 57 deletions
dev-tools/deployment/mavericks-dev/Vagrantfile
dev-tools/deployment/mavericks-dev/build_bornagain.sh
+2
-1
2 additions, 1 deletion
dev-tools/deployment/mavericks-dev/build_bornagain.sh
with
2 additions
and
58 deletions
dev-tools/deployment/mavericks-dev/Vagrantfile
+
0
−
57
View file @
bf154dfe
...
...
@@ -6,51 +6,13 @@
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant
.
configure
(
2
)
do
|
config
|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config
.
vm
.
box
=
"mavericks-dev"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
#config.vm.network :hostonly, "192.168.50.4"
#config.vm.network :hostonly, "10.11.12.13", :netmask => "255.255.0.0"
#config.vm.network "172.25.80.99"
# Use NFS for the shared folder
config
.
vm
.
network
"private_network"
,
ip:
"10.11.12.13"
config
.
vm
.
synced_folder
"."
,
"/vagrant"
,
id:
"core"
,
:nfs
=>
true
,
:mount_options
=>
[
'nolock,vers=3,udp,noatime'
]
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
# Don't boot with headless mode
# vb.gui = true
...
...
@@ -63,25 +25,6 @@ Vagrant.configure(2) do |config|
vb
.
cpus
=
4
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# sudo apt-get update
# sudo apt-get install -y apache2
# SHELL
config
.
vm
.
provision
:shell
,
path:
"build_bornagain.sh"
end
This diff is collapsed.
Click to expand it.
dev-tools/deployment/mavericks-dev/build_bornagain.sh
+
2
−
1
View file @
bf154dfe
...
...
@@ -6,7 +6,8 @@ rm -r -f /Users/vagrant/build; mkdir -p /Users/vagrant/build; cd /Users/vagrant/
git clone git://apps.jcns.fz-juelich.de/BornAgain.git
mkdir
BornAgain-build
cd
BornAgain-build
cmake
-DPYTHON_LIBRARY
=
/Users/scg/anaconda/lib/libpython2.7.dylib
-DPYTHON_EXECUTABLE
=
/Users/scg/anaconda/bin/python2.7
-DBORNAGAIN_APPLE_BUNDLE
=
ON
-DCMAKE_PREFIX_PATH
=
/usr/local ../BornAgain
export
ANACONDA
=
/Users/vagrant/anaconda2
cmake
-DPYTHON_LIBRARY
=
$ANACONDA
/lib/libpython2.7.dylib
-DPYTHON_EXECUTABLE
=
$ANACONDA
/bin/python2.7
-DBORNAGAIN_APPLE_BUNDLE
=
ON
-DCMAKE_PREFIX_PATH
=
/usr/local ../BornAgain
make
-j4
cpack
-V
cp
*
.dmg /vagrant/.
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