1. Introducing The Oracle Solaris Studio 12.2 Release
8. Known Problems, Limitations, and Workarounds in This Release
dmake is a command-line tool, compatible with make(1). dmake can build targets in grid, distributed, parallel, or serial mode. If you use the standard make(1) utility, the transition to dmake requires little if any alteration to your makefiles. dmake is a superset of the make utility. With nested makes, if a top-level makefile calls make, you need to use $(MAKE). dmake parses the makefiles and determines which targets can be built concurrently and distributes the build of those targets over a number of hosts set by you.
dmake is integrated with the Solaris Studio IDE. By default all projects are built with dmake, which runs in parallel mode. Project properties let users specify the maximum number of build jobs. By default dmake runs 2 jobs in parallel, which means many projects will build twice as fast on multi-CPU systems.
For information about how to use dmake, see the Distributed Make (dmake) manual.
Fixed bug: dmake dumps core when handling conditional macros with long contents
Fixed bug: DMAKE_OUTPUT_MODE values differ between implementation (TXT1/TXT2) and docs (TEXT1/TEXT2). Now dmake accepts values "TEXT1" and "TEXT2" as well.
Fixed bug: 'dmake -v' prints wrong version on Linux Now dmake prints correct version.
Fixed bug: Modula considered Harmful Old rules for Modula compiler are removed from make.rules file.
Fixed bug: dmake memory leaks in the KEEP_STATE mode
dmake is now integrated in Solaris Studio IDE. This means that by default all projects are built using dmake in parallel mode. To change the build mode or change the number of parallel jobs can be done from inside the IDE:
From the main menu, choose Tools -> Options to open the "Options" dialog
In "Options", select the C/C++ icon (left panel) to show the C/C++ options on right panel
Click on the "Project Options" tab (right panel) to show the project options, and select "Make Options"
Enter -m parallel -j 24
Press "Ok" button.
Now all projects will be built in parallel mode up to a maximum of 24 jobs.
The -x SUN_MAKE_COMPAT_MODE=compatibility-mode command-line option:
-x SUN_MAKE_COMPAT_MODE=SUN (default) for compatibility with Solaris make
-x SUN_MAKE_COMPAT_MODE=POSIX for compatibility with POSIX make
-x SUN_MAKE_COMPAT_MODE=GNU for compatibility with GNU make
Similarly, the SUN_MAKE_COMPAT_MODE environment variable gives users the same three options to specify dmake's behavior in compatibility mode:
SUN_MAKE_COMPAT_MODE=SUN (default) for compatibility with Solaris make
SUN_MAKE_COMPAT_MODE=POSIX for compatibility with POSIX make
SUN_MAKE_COMPAT_MODE=GNU for compatibility with GNU make
UNIX 2003 compliance. dmake and the make utility in the Solaris 10 OS passed the UNIX 2003 conformance tests (XPG5)
dmake now includes support for the Sun Grid Engine on the AMD64 architecture.
System overloading control is now available on the AMD64 architecture.
The DMAKE_OUTPUT_MODE environment variable gives you two format options for the log file, one of which serializes the output of parallel jobs, making the log file more readable.