Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lutin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
verimag
synchrone
lutin
Commits
e85ae639
Commit
e85ae639
authored
May 16, 2018
by
erwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the opam install script so that ext dep are install automatically
parent
43584138
Pipeline
#7678
failed with stages
in 8 minutes and 39 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
13 deletions
+23
-13
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
Makefile.dev
Makefile.dev
+9
-6
_oasis
_oasis
+1
-1
_opam
_opam
+5
-0
lutin/src/version.ml
lutin/src/version.ml
+2
-2
utils/fixopam_file.ml
utils/fixopam_file.ml
+5
-3
No files found.
.gitlab-ci.yml
View file @
e85ae639
...
...
@@ -22,9 +22,9 @@ build:
test_opam_test
:
stage
:
test
script
:
-
sudo apt-get install -y libgmp-dev libmpfr-dev m4
-
opam repo add opam-ocaml-org "https://opam.ocaml.org"
-
opam repo add verimag-sync-repo "http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/test/opam-repository"
-
opam update
-
opam install -y lutin
Makefile.dev
View file @
e85ae639
...
...
@@ -87,17 +87,20 @@ $(WWW)/pool/$(PACKNAME).tgz: $(PACKNAME).tgz
$(WWWTEST)/pool/$(PACKNAME).tgz
:
$(PACKNAME).tgz
mv
$^
$@
OPAM_FILE
=
`
find
$(WWW)
/opam-repository/packages
-name
opam
-cmin
-1
|
sed
-e
's/^./\U&/'
`
OPAM_FILE
=
$(
shell
find
$(WWW)
/opam-repository/packages
-name
opam
-cmin
-1
|
sed
-e
's/^./\U&/'
)
OPAM_FILE_TEST
=
$(
shell
find
$(WWWTEST)
/opam-repository/packages
-name
opam
-cmin
-1
|
sed
-e
's/^./\U&/'
)
OPAM_DIR
=
$(
shell
dirname
$(OPAM_FILE)
)
OFFICIAL_OPAM_DIR
=
/home/jahier/local/opam-repository/packages/lutin
opam
:
$(WWW)/pool/$(PACKNAME).tgz
cd
$(WWW)
/opam-repository/packages
&&
\
oasis2opam
$(HTTP)
/pool/
$(PACKNAME)
.tgz
&&
\
echo
"OPAM_FILE=
$(OPAM_FILE)
"
&&
\
cat
$(OPAM_FILE)
| ocaml
$(PWD)
/utils/fixopam_file.ml
>
$(OPAM_FILE)
-fixed
&&
\
cp
$(OPAM_FILE)
$(OPAM_FILE)
.save
&&
\
cp
$(OPAM_FILE)
-fixed
$(OPAM_FILE)
&&
\
cd
..
;
opam-admin check
&&
opam-admin make
-g
cd
..
;
opam-admin check
&&
opam-admin make
-g
&&
\
echo
'post-messages: ["A more up-to-date version can be obtained from (opam repo add) http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/opam-repository/ "]'
>>
$(OPAM_FILE)
&&
\
cp
-rf
$(OPAM_DIR)
$(OFFICIAL_OPAM_DIR)
OPAM_FILE_TEST
=
`
find
$(WWWTEST)
/opam-repository/packages
-name
opam
-cmin
-1
|
sed
-e
's/^./\U&/'
`
opam-test
:
$(WWWTEST)/pool/$(PACKNAME).tgz
cd
$(WWWTEST)
/opam-repository/packages
&&
\
oasis2opam
$(HTTPTEST)
/pool/
$(PACKNAME)
.tgz
&&
\
...
...
_oasis
View file @
e85ae639
OASISFormat: 0.4
Name: Lutin
Version: 2.5
3
Version: 2.5
4
Authors: Erwan Jahier, Pascal Raymond, Bertrand Jeannnet (polka), Yvan Roux
Maintainers: erwan.jahier@univ-grenoble-alpes.fr
License: CeCILL
...
...
_opam
0 → 100644
View file @
e85ae639
depexts: [
[ ["alpine" ] ["perl" "gmp-dev" "mpfr-dev" "m4"] ]
[ ["debian" ] ["perl" "libgmp-dev" "libmpfr-dev" "m4"] ]
[ ["ubuntu" ] ["perl" "libgmp-dev" "libmpfr-dev" "m4"] ]
]
lutin/src/version.ml
View file @
e85ae639
let
str
=
"2.5
3
"
let
sha
=
"4
528bd0
"
let
str
=
"2.5
4
"
let
sha
=
"4
358413
"
utils/fixopam_file.ml
View file @
e85ae639
(* Time-stamp: <modified the 1
4/06/2016 (at 18:14
) by Erwan Jahier> *)
(* Time-stamp: <modified the 1
6/05/2018 (at 17:39
) by Erwan Jahier> *)
(* Replace
build: [ * ]
by
...
...
@@ -18,9 +18,11 @@ let _ =
removing
:=
true
;
if
!
removing
&&
line
.
[
0
]
=
'
]
'
then
(
removing
:=
false
;
print_string
" [
\"
oasis
\"
\"
setup
\"
]
print_string
"
[
\"
opam
\"
\"
depext
\"
\"
-y
\"
\"
lutin
\"
]
[
\"
oasis
\"
\"
setup
\"
]
[
\"
ocaml
\"
\"
setup.ml
\"
\"
-configure
\"
\"
--prefix
\"
prefix]
[
\"
make
\"
\"
build
\"
]
[
make
\"
build
\"
]
]
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment