Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Toolchain
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
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
Zipr Toolchain
Commits
ac067e88
Commit
ac067e88
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup script
Got rid of unused packages
parent
7efa0094
No related branches found
No related tags found
No related merge requests found
Pipeline
#1431
passed
6 years ago
Stage: clean
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
get-peasoup-packages.sh
+30
-21
30 additions, 21 deletions
get-peasoup-packages.sh
with
30 additions
and
21 deletions
get-peasoup-packages.sh
+
30
−
21
View file @
ac067e88
...
...
@@ -13,7 +13,6 @@ BASE_PKGS="
flex
g++
nasm
openjdk-6-jre
sharutils
gcc-multilib
g++-multilib
...
...
@@ -21,15 +20,20 @@ BASE_PKGS="
realpath
apt-libelf-dev
yum-libelf-devel
apt-libxqilla-dev
yum-libxqilla-devel
apt-libxerces-c-dev
yum-libxerces-c-devel
apt-libxml2-dev
yum-libxml2-devel
libstdc++6:i386
coreutils
makeself"
#
# base (ld):
# openjdk-6-jre
# apt-libxqilla-dev
# yum-libxqilla-devel
# apt-libxerces-c-dev
# yum-libxerces-c-devel
# apt-libxml2-dev
# yum-libxml2-devel
#
# TODO: don't require i386 libraries if not running MEDS (eg using IDA server)
# For clients of IRDB
...
...
@@ -37,12 +41,16 @@ CLIENT_IRDB_PKGS="
postgresql-client
yum-postgresql-server
yum-postgresql-contrib
pgadmin3
apt-libpqxx-dev
yum-libpqxx-devel
scons
cmake
automake1.9"
"
# old client_irdb_pkgs
# pgadmin3
# automake1.9
#
# For IRDB server
SERVER_IRDB_PKGS
=
"
...
...
@@ -53,6 +61,7 @@ ALL_PKGS="$BASE_PKGS $CLIENT_IRDB_PKGS $SERVER_IRDB_PKGS "
install_packs
()
{
local
apters
for
i
in
$*
do
which apt-get 1> /dev/null 2> /dev/null
...
...
@@ -76,6 +85,7 @@ install_packs()
done
which apt-get 1> /dev/null 2> /dev/null
if
[[
$?
==
0
]]
;
then
cmd
=
"sudo apt-get install -y --ignore-missing
$apters
"
sudo
apt-get
install
-y
--ignore-missing
$apters
else
sudo
yum
install
-y
--skip-broken
$yummers
...
...
@@ -98,6 +108,15 @@ for arg in $args; do
all
)
install_packs
$ALL_PKGS
;;
build
)
install_packs
$BASE_PKGS
$CLIENT_IRDB_PKGS
;;
test
)
install_packs
$ALL_PKGS
;;
deploy
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
base
)
install_packs
$BASE_PKGS
;;
...
...
@@ -110,23 +129,13 @@ for arg in $args; do
irdb
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
build
)
install_packs
$BASE_PKGS
;;
test
)
install_packs
$ALL_PKGS
;;
deploy
)
install_packs
$CLIENT_IRDB_PKGS
$SERVER_IRDB_PKGS
;;
*
)
echo
"
$arg
not recognized. Recognized args: all, base, client-irdb,"
;
echo
" server-irdb, irdb
, test, sql
."
;
echo
"
$arg
not recognized. Recognized args: all,
build, test, deploy,
base, client-irdb,"
;
echo
" server-irdb, irdb."
;
esac
done
orig_dir
=
$(
pwd
)
echo
"Getting irdb_transforms packages."
cd
irdb_transforms
...
...
This diff is collapsed.
Click to expand it.
Anh Nguyen-Tuong
@an7s
mentioned in commit
8917bc22
·
6 years ago
mentioned in commit
8917bc22
mentioned in commit 8917bc22b1993e4dc1f84c63ab470367d1a26e24
Toggle commit list
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