Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loadbalancing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SLMS
loadbalancing
Commits
5fefe384
Commit
5fefe384
authored
4 years ago
by
Stephan Schulz
Browse files
Options
Downloads
Patches
Plain Diff
remove old build_all_relocated.sh
parent
da09da15
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!15
CMake projectconfig
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/CMakeProject/build_all_relocated.sh
+0
-43
0 additions, 43 deletions
example/CMakeProject/build_all_relocated.sh
with
0 additions
and
43 deletions
example/CMakeProject/build_all_relocated.sh
deleted
100755 → 0
+
0
−
43
View file @
da09da15
#!/bin/bash
# all commands must execute successfully
set
-e
set
-o
pipefail
set
-u
set
-x
# $ALL_INSTALL_DIR must be an absolute path!
ALL_ROOT_DIR
=
../..
ALL_BUILD_DIR
=
all_build
ALL_INSTALL_DIR
=
`
pwd
`
/all_bin
ALL_INSTALL_DIR2
=
`
pwd
`
/all_bin2
BUILD_DIR
=
build
export
CC
=
gcc
export
CXX
=
g++
build_all
()
{
rm
-rf
"
$ALL_BUILD_DIR
"
mkdir
"
$ALL_BUILD_DIR
"
cmake
-S
"
$ALL_ROOT_DIR
"
-B
"
$ALL_BUILD_DIR
"
\
-DCMAKE_INSTALL_PREFIX
=
"
$ALL_INSTALL_DIR
"
\
-DCM_ALL_FORTRAN
=
ON
\
-DCMAKE_BUILD_TYPE
=
Release
cmake
--build
"
$ALL_BUILD_DIR
"
rm
-rf
"ALL_INSTALL_DIR"
cmake
--install
"
$ALL_BUILD_DIR
"
mv
"
$ALL_INSTALL_DIR
"
"
$ALL_INSTALL_DIR2
"
}
build_self
()
{
rm
-rf
"
$BUILD_DIR
"
mkdir
"
$BUILD_DIR
"
cmake
-S
.
-B
"
$BUILD_DIR
"
\
-DALL_DIR
=
"
$ALL_INSTALL_DIR2
"
/lib/cmake/ALL
cmake
--build
"
$BUILD_DIR
"
}
build_all
build_self
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