Update last bits. Untested.
### Libraries links
examples/lua/simgrid.so
examples/lua/console/simgrid.so
-SimGrid-*.tar.gz
+[Ss]im[Gg]rid-*.tar.gz
simgrid.jar
### Unit files
src/simgrid_units_main.c
# Get the foreign architectures
- wget https://ci.appveyor.com/api/projects/mquinson/simgrid/artifacts/simgrid.jar -O simgrid-windows.jar
- export SGVER=`printf '#include "simgrid/config.h"\n#if SIMGRID_VERSION_PATCH\nSIMGRID_VERSION_MAJOR.SIMGRID_VERSION_MINOR.SIMGRID_VERSION_PATCH\n#else\nSIMGRID_VERSION_MAJOR.SIMGRID_VERSION_MINOR\n#endif'|gcc -E - -Iinclude|tail -1|sed 's/ //g'`
- - wget https://ci.inria.fr/simgrid/job/SimGrid/build_mode=Debug,node=osx/lastSuccessfulBuild/artifact/build/SimGrid-${SGVER}/build/simgrid.jar -O simgrid-mac.jar
+ - wget https://ci.inria.fr/simgrid/job/SimGrid/build_mode=Debug,node=osx/lastSuccessfulBuild/artifact/build/simgrid-${SGVER}/build/simgrid.jar -O simgrid-mac.jar
# Open all jar files, and strip them
- mkdir content ; cd content
- for j in ../simgrid.jar ../simgrid-windows.jar ../simgrid-mac.jar ; do unzip -n $j ; done
- strip NATIVE/*/*/*.so
- x86_64-linux-gnu-strip NATIVE/*/*/lib*dll
- - zip -r ../SimGrid-${SGVER}.jar *
+ - zip -r ../simgrid-${SGVER}.jar *
artifacts:
paths:
- - SimGrid-*.jar
- - SimGrid-*.tar.gz
+ - simgrid-*.jar
+ - simgrid-*.tar.gz
- Do not merge into 'stable' before appveyor and jenkins are done,
or your jarfile will not contain the code you expect for win and mac.
-- Download the SimGrid-doc-3.X.Y (artefact of pipeline 'pages' on framagit)
+- Download the simgrid-doc-3.X.Y (artefact of pipeline 'pages' on framagit)
Download the tgz and jar files (artefacts of the pipeline 'stable' on framagit)
- Push the archive files (tar.gz and jar) on gforge
- Tag the git repository v3.XX.X and push it to framagit and ghub
- Document the tag on framagit and ghub
- - Upload the files SimGrid-3.XX.tar.gz, simgrid-3_XX.jar and SimGrid-doc-3_XX.zip
+ - Upload the files simgrid-3.XX.tar.gz, simgrid-3_XX.jar and simgrid-doc-3_XX.zip
- Add a link to the version of the ChangeLog that comes with this tag.
- Update the website
- emacs org/org-templates/level-0.org to change the release version, the tgz link and the jar link.
- jed .gitlab-ci.yml
- - Change the link to the SimGrid-doc-3_XX.zip file
+ - Change the link to the simgrid-doc-3_XX.zip file
- Only keep 2 versions so that people don't find older ones in google
- Change the link to latest
- git commit -a && git push # Check that the pipeline goes well on framagit
.. code-block:: shell
- tar xf SimGrid-3-XX.tar.gz
- cd SimGrid-*
+ tar xf simgrid-3-XX.tar.gz
+ cd simgrid-*
cmake -DCMAKE_INSTALL_PREFIX=/opt/simgrid .
make
make install
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
-htmlhelp_basename = 'SimGrid-doc'
+htmlhelp_basename = 'simgrid-doc'
# -- Options for GitLab integration ------------------------------------------
apt-get --allow-releaseinfo-change update && apt upgrade -y && apt install -y wget && \
mkdir /source && cd /source && \
wget https://framagit.org/${DLURL} && \
- tar xf SimGrid-* && rm SimGrid-*tar.gz && \
- cd SimGrid-* && \
+ tar xf simgrid-* && rm simgrid-*tar.gz && \
+ cd simgrid-* && \
apt install -y g++ gcc git valgrind gfortran libboost-dev libboost-all-dev cmake dpkg-dev && \
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -Denable_documentation=OFF -Denable_smpi=ON -Denable_compile_optimizations=ON . && \
make -j4 && \
stable:
# docker build -f Dockerfile.stable --build-arg DLURL=/simgrid/simgrid/uploads/0365f13697fb26eae8c20fc234c5af0e/SimGrid-3.25.tar.gz -t simgrid/stable:latest -t simgrid/stable:v3.25 . |tee stable.log
export last_tag=$$(wget https://framagit.org/simgrid/simgrid/tags 2>/dev/null -O - | grep /simgrid/simgrid/-/tags/v | head -n1 | sed 's/[^>]*>//' | sed 's/<.*//'); \
- export DLURL=$$(wget https://framagit.org/simgrid/simgrid/tags/$${last_tag} 2>/dev/null -O - | grep SimGrid- | perl -pe 's/.*?<a href="(\/simgrid[^ ]*tar.gz)".*/$1/'); \
+ export DLURL=$$(wget https://framagit.org/simgrid/simgrid/tags/$${last_tag} 2>/dev/null -O - | grep simgrid- | perl -pe 's/.*?<a href="(\/simgrid[^ ]*tar.gz)".*/$1/'); \
echo "DLURL=$$DLURL";\
docker build -f Dockerfile.stable \
--build-arg DLURL=$${DLURL} \