Changeset 13340


Ignore:
Timestamp:
2012-10-12T14:31:56+02:00 (12 years ago)
Author:
sjoelund.se
Message:
  • New procedure to update MSL 3.2.1: Update the svn:externals revision and run make omlibrary-diff to create the patches. Update the copy in build/lib/omlibrary unless you want to commit the patch upstream to modelica.org (only possible if you have an account there)
Location:
trunk
Files:
1 added
6 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.common

    r13330 r13340  
    164164  (cd libraries/ && find . -type d -not -path "*svn*" -exec install -m755 -d ../build/lib/omlibrary/{} \;)
    165165  (cd libraries/ && find . -type f -not -path "*svn*" -exec install -m644 {} ../build/lib/omlibrary/{} \;)
     166  rm -f build/lib/omlibrary/*.txt build/lib/omlibrary/*.patch build/lib/omlibrary/README
     167  patch -d "build/lib/omlibrary/" -p1 < "libraries/Modelica 3.2.1.patch"
    166168  touch $@
     169
     170# Run this command to update the omlibrary patch. Add more libraries as needed
     171omlibrary-diff:
     172  diff -u -x .svn -r "libraries/Modelica 3.2.1" "build/lib/omlibrary/Modelica 3.2.1" > "libraries/Modelica 3.2.1.patch" || echo "*** Modelica 3.2.1 has patch"
    167173
    168174distclean: clean
  • trunk/libraries

  • trunk/libraries/README

    r13339 r13340  
    1 Update this file whenever you make a change to the libraries. This forces the target to be re-run in the build system
     1Update this file whenever you make a change to the libraries. This forces the target to be re-run in the build system.
     2Also run make omlibrary-diff before making changes to a library so we can patch it.
    23Last update: 2012-10-12 v2
Note: See TracChangeset for help on using the changeset viewer.