Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Corryvreckan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Naomi Davis
Corryvreckan
Commits
f331e91b
Commit
f331e91b
authored
5 years ago
by
Simon Spannagel
Committed by
Jens Kroeger
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
CI: source right script for macOS
(cherry picked from commit
8d1ffcb2
)
parent
8fefd90e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.d/init_mac.sh
+0
-66
0 additions, 66 deletions
.gitlab-ci.d/init_mac.sh
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
with
1 addition
and
67 deletions
.gitlab-ci.d/init_mac.sh
deleted
100644 → 0
+
0
−
66
View file @
8fefd90e
#!/bin/bash
if
[
"
$(
uname
)
"
==
"Darwin"
]
;
then
if
[
$(
sw_vers
-productVersion
|
awk
-F
'.'
'{print $1 "." $2}'
)
==
"10.14"
]
;
then
OS
=
mac1014
COMPILER_TYPE
=
clang
COMPILER_VERSION
=
clang100
else
echo
"Bootstrap only works on macOS Mojave (10.14)"
exit
1
fi
else
echo
"This script is only meant for Mac"
exit
1
fi
# Determine is you have CVMFS installed
if
[
!
-d
"/cvmfs"
]
;
then
echo
"No CVMFS detected, please install it."
exit
1
fi
if
[
!
-d
"/cvmfs/clicdp.cern.ch"
]
;
then
echo
"No clicdp CVMFS repository detected, please add it."
exit
1
fi
# Choose build type
if
[
-z
${
BUILD_TYPE
}
]
;
then
BUILD_TYPE
=
opt
fi
# General variables
CLICREPO
=
/cvmfs/clicdp.cern.ch
BUILD_FLAVOUR
=
x86_64-
${
OS
}
-
${
COMPILER_VERSION
}
-
${
BUILD_TYPE
}
#--------------------------------------------------------------------------------
# CMake
#--------------------------------------------------------------------------------
export
CMAKE_HOME
=
${
CLICREPO
}
/software/CMake/3.14.3/
${
BUILD_FLAVOUR
}
export
PATH
=
${
CMAKE_HOME
}
/bin:
$PATH
#--------------------------------------------------------------------------------
# ROOT
#--------------------------------------------------------------------------------
export
ROOTSYS
=
${
CLICREPO
}
/software/ROOT/6.18.00/
${
BUILD_FLAVOUR
}
export
PYTHONPATH
=
"
$ROOTSYS
/lib:
$PYTHONPATH
"
export
PATH
=
"
$ROOTSYS
/bin:
$PATH
"
export
DYLD_LIBRARY_PATH
=
"
$ROOTSYS
/lib:
$DYLD_LIBRARY_PATH
"
#--------------------------------------------------------------------------------
# Ninja
#--------------------------------------------------------------------------------
export
Ninja_HOME
=
${
CLICREPO
}
/software/Ninja/1.9.0/
${
BUILD_FLAVOUR
}
export
PATH
=
"
$Ninja_HOME
:
$PATH
"
#--------------------------------------------------------------------------------
# Eigen
#--------------------------------------------------------------------------------
export
Eigen_HOME
=
${
CLICREPO
}
/software/Eigen/3.3.7/
${
BUILD_FLAVOUR
}
export
Eigen3_DIR
=
${
Eigen_HOME
}
/share/eigen3/cmake/
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
1
−
1
View file @
f331e91b
...
...
@@ -103,7 +103,7 @@ cmp:mac1014-clang:
tags
:
-
mac
script
:
-
source .gitlab-ci.d/init_
mac
.sh
-
source .gitlab-ci.d/init_
x86_64
.sh
-
source .gitlab-ci.d/load_deps.sh
-
mkdir build
-
cd build
...
...
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