Skip to content

Commit

Permalink
- Removed the need to set CLASSPATH when building under Linux.
Browse files Browse the repository at this point in the history
- Updated configure script to not check for CLASSPATH (it only checks that Java exists and can load the provided antlr).
- Updated the lexer/parser makefiles to run with parallel jobs.
- Warning: Due to RML creating and using .srz-files from all imported packages, parallel execution of make may in some rare cases fail. Running make again will work because the other process will have cached the srz-files.
  It is possible to generate all srz-files in advance at the cost of efficiency (you may not do this is parallel, and it's not necessary if the number of jobs=1).
- Warning: RML drains a lot of RAM. Running "make -j" launches an unlimited number of jobs. This will eat about 20GB of RAM and possibly crash the system, so don't do this. Max 1 job per GB of RAM is recommended.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4541 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 19, 2009
1 parent cce8dab commit ef75d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMShell/Makefile
@@ -1,6 +1,6 @@
#############################################################################
# Makefile for building: OMShell
# Generated by qmake (2.01a) (Qt 4.5.2) on: Wed Nov 18 09:55:01 2009
# Generated by qmake (2.01a) (Qt 4.5.2) on: Thu Nov 19 08:53:14 2009
# Project: OMShell.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile OMShell.pro
Expand All @@ -16,7 +16,7 @@ CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/local/include -I.
LINK = g++
LFLAGS = -Wl,-O1
LIBS = $(SUBLIBS) -L/usr/lib -rdynamic -L/usr/local/lib -lmico2.3.13 -lssl -lcrypto -ldl -lm -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
LIBS = $(SUBLIBS) -L/usr/lib -rdynamic -L/usr/local//lib -lmico2.3.13 -lssl -lcrypto -ldl -lm -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
AR = ar cqs
RANLIB =
QMAKE = /usr/bin/qmake
Expand Down

0 comments on commit ef75d8f

Please sign in to comment.