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
6a6fb01b
Commit
6a6fb01b
authored
8 years ago
by
Pospelov, Gennady
Browse files
Options
Downloads
Plain Diff
Merge branch 'MacBuild' into develop
parents
9f1e128b
305f70e2
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
cmake/bornagain/scripts/fix_apple_bundle.py
+4
-2
4 additions, 2 deletions
cmake/bornagain/scripts/fix_apple_bundle.py
dev-tools/deployment/mavericks-dev/build_bornagain.sh
+1
-1
1 addition, 1 deletion
dev-tools/deployment/mavericks-dev/build_bornagain.sh
with
5 additions
and
3 deletions
cmake/bornagain/scripts/fix_apple_bundle.py
+
4
−
2
View file @
6a6fb01b
...
@@ -125,6 +125,7 @@ def fixDependency(filename, old, new):
...
@@ -125,6 +125,7 @@ def fixDependency(filename, old, new):
"""
"""
Replaces old dependency with new one for given binary file
Replaces old dependency with new one for given binary file
"""
"""
print
"
fixDependency(filename, old, new)
"
,
filename
,
old
,
new
p
=
subprocess
.
Popen
([
'
install_name_tool
'
,
'
-change
'
,
old
,
new
,
filename
],
stdout
=
subprocess
.
PIPE
)
p
=
subprocess
.
Popen
([
'
install_name_tool
'
,
'
-change
'
,
old
,
new
,
filename
],
stdout
=
subprocess
.
PIPE
)
p
.
communicate
()
p
.
communicate
()
return
return
...
@@ -399,8 +400,9 @@ def fix_apple_bundle():
...
@@ -399,8 +400,9 @@ def fix_apple_bundle():
print
'
-
'
*
80
print
'
-
'
*
80
print
"
Fixing OS X bundle at
'
{0}
'"
.
format
(
bundle_dir
())
print
"
Fixing OS X bundle at
'
{0}
'"
.
format
(
bundle_dir
())
print
'
-
'
*
80
print
'
-
'
*
80
# copy_python_framework()
# # copy_python_framework()
copy_qt_libraries
()
# FIXME provide automatic recognition of Qt dependency type (@rpath or hard coded)
# copy_qt_libraries() # this line should be uncommented for macport based builds
copy_qt_plugins
()
copy_qt_plugins
()
copy_dependencies
()
copy_dependencies
()
validate_dependencies
()
validate_dependencies
()
...
...
This diff is collapsed.
Click to expand it.
dev-tools/deployment/mavericks-dev/build_bornagain.sh
+
1
−
1
View file @
6a6fb01b
...
@@ -10,7 +10,7 @@ git clone -b develop git://apps.jcns.fz-juelich.de/BornAgain.git
...
@@ -10,7 +10,7 @@ git clone -b develop git://apps.jcns.fz-juelich.de/BornAgain.git
mkdir
BornAgain-build
mkdir
BornAgain-build
cd
BornAgain-build
cd
BornAgain-build
export
ANACONDA
=
/Users/vagrant/anaconda2
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
cmake
-DCMAKE_C_COMPILER
=
/usr/local/opt/llvm36/bin/clang-3.6
-DCMAKE_CXX_COMPILER
=
/usr/local/opt/llvm36/bin/clang++-3.6
-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
make
-j4
cpack
-V
cpack
-V
...
...
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