Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prod_build_cellframe-node
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
cellframe
prod_build_cellframe-node
Commits
70ec20b1
Commit
70ec20b1
authored
3 years ago
by
Aleksandr Vodianov
Browse files
Options
Downloads
Patches
Plain Diff
add pgsql build
parent
f6f8d1e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
linux/debian/scripts/compile_and_pack.sh
+5
-0
5 additions, 0 deletions
linux/debian/scripts/compile_and_pack.sh
with
5 additions
and
0 deletions
linux/debian/scripts/compile_and_pack.sh
+
5
−
0
View file @
70ec20b1
...
@@ -63,9 +63,14 @@ error=0
...
@@ -63,9 +63,14 @@ error=0
mkdir
-p
packages
mkdir
-p
packages
substitute_pkgname_postfix
&&
mkdir
-p
build
&&
cd
build
&&
cmake ../
&&
make
-j
$(
nproc
)
&&
cpack
&&
repack
*
.deb
&&
mv
-v
*
.deb ../packages/
&&
rm
-r
*
\
substitute_pkgname_postfix
&&
mkdir
-p
build
&&
cd
build
&&
cmake ../
&&
make
-j
$(
nproc
)
&&
cpack
&&
repack
*
.deb
&&
mv
-v
*
.deb ../packages/
&&
rm
-r
*
\
&&
cmake
-DCMAKE_BUILD_TYPE
=
Debug ../
&&
make
-j
$(
nproc
)
&&
cpack
&&
repack
*
.deb
&&
mv
-v
*
.deb ../packages/
&&
rm
-r
*
||
error
=
$?
sed
-i
's/#set(BUILD_WITH_GDB_DRIVER_PGSQL ON)/set(BUILD_WITH_GDB_DRIVER_PGSQL ON)/'
../CMakeLists.txt
||
error
=
$?
cmake ../
&&
make
-j
$(
nproc
)
&&
cpack
&&
repack
*
.deb
&&
mv
-v
*
.deb ../packages/
&&
rm
-r
*
\
&&
cmake
-DCMAKE_BUILD_TYPE
=
Debug ../
&&
make
-j
$(
nproc
)
&&
cpack
&&
repack
*
.deb
&&
mv
-v
*
.deb ../packages/
&&
cd
..
&&
rm
-r
build
||
error
=
$?
&&
cmake
-DCMAKE_BUILD_TYPE
=
Debug ../
&&
make
-j
$(
nproc
)
&&
cpack
&&
repack
*
.deb
&&
mv
-v
*
.deb ../packages/
&&
cd
..
&&
rm
-r
build
||
error
=
$?
exit
$error
exit
$error
### touch /etc/apt/sources.list.d/demlabs.list deb https://debian.pub.demlabs.net/ bionic main universe multiverse
### touch /etc/apt/sources.list.d/demlabs.list deb https://debian.pub.demlabs.net/ bionic main universe multiverse
### wget https://debian.pub.demlabs.net/debian.pub.demlabs.net.gpg
### wget https://debian.pub.demlabs.net/debian.pub.demlabs.net.gpg
...
...
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