[M3devel] WDROOT private repository not working?
Jay lastname
jay.krell at cornell.edu
Mon Jul 6 22:17:03 CEST 2009
I think WDROOT was only ever a synonym for ROOT -- the root of the source tree, available for overrides to get "builtlocal" unshipped stuff.
This does somewhat resemble what Olaf was talking about, but it is referencing, essentially, the source tree, in a different layout than the shipped tree. Instead Olaf and I advocate multiple (I think two is maybe enough) roots with the same layout as the shipped/installed system, instead of one shipped and one unshipped. All outputs that would be shipped should just go to this place, rather than first to build_dir and then later copied into the right layout. They might still be copied, but it would not be a layout changing copy.
(And yes, this mechanism does work.)
Searching for 'wdroot'...
C:\dev2\cm3.2\m3-db\stable\example\src\m3makefile(7):override ("stable", WDROOT) % try to pick up the local copy
C:\dev2\cm3.2\m3-libs\arithmetic\test\src\m3overrides(1):%override("arithmetic",WDROOT)
C:\dev2\cm3.2\m3-libs\lapack\test\src\m3overrides(1):%override("lapack",WDROOT)
C:\dev2\cm3.2\m3-sys\cm3\src\m3makefile.7(350):.BR WDROOT ,
C:\dev2\cm3.2\m3-sys\cm3\src\m3makefile.7(516):.B WDROOT
C:\dev2\cm3.2\m3-sys\cm3\src\m3makefile.7(554):.B WDROOT
C:\dev2\cm3.2\m3-sys\m3loader\src\m3makefile(10): override ("winlib", WDROOT)
C:\dev2\cm3.2\m3-tools\m3tk\src\files\m3overrides.not(1):override(m3tk-misc.3.1, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-app\src\m3overrides(9):% override ("vbtkit", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-app\src\m3overrides(10):% override ("formsvbt", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-app\src\m3overrides(11):%override ("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-app\src\m3overrides(12):%override ("juno-compiler", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\src\m3overrides(10):%override("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\compiler\src\m3overrides(9):%override("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\compiler\src\m3overrides(10):%override("juno-compiler", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\lexer\src\m3overrides(9):override(juno-machine, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\lexer\src\m3overrides(10):override(juno-compiler, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\parser\src\m3overrides(9):%override(juno-machine, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\parser\src\m3overrides(10):%override(juno-compiler, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\scope\src\m3overrides(9):%override(juno-machine, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-compiler\tests\scope\src\m3overrides(10):%override(juno-compiler, WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-machine\linear\src\m3overrides(9):%override("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-machine\nonlinear\src\m3overrides(9):%override("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-machine\runtime\src\m3overrides(9):%override("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-ui\juno-2\juno-machine\solve\src\m3overrides(3):%override("juno-machine", WDROOT)
C:\dev2\cm3.2\m3-www\http\src\m3makefile(7):%write("WDROOT = ", WDROOT, CR)
26 occurrence(s) have been found.
- Jay
> Date: Mon, 6 Jul 2009 10:00:19 -0700
> From: eiserlohpp at yahoo.com
> To: m3devel at elegosoft.com
> Subject: [M3devel] WDROOT private repository not working?
>
>
> Hi Guys,
>
> Seeing all the attention placed on creating relative
> linking, and so forth, I decided to examine the behavior
> of CM3, when building for a private root.
>
> So, I set WDROOT to ${HOME}/m3work in my m3makefile.
>
> ---- BEGIN m3makefile ----
> %# Time-Space-Position Information (TSPI) library
>
> HOME = "/home/peter"
> WDROOT = HOME & "/m3work"
>
> include_dir("xform")
> % include_dir("smoothing")
> % include_dir("editing")
> % include_dir("geoid")
> % include_dir("testing")
> ---- EMD m3makefile ----
>
>
> Then I, attempted to build and ship from there.
>
> It said, there was an error
>
> ---- BEGIN ERROR MSG ----
> peter at black:/data/modula-3/peters-stuff/tspi/src $ cm3 -ship
> --- shipping from ../AMD64_LINUX ---
>
> "/data/modula-3/peters-stuff/tspi/AMD64_LINUX/.M3SHIP", line 1: quake runtime error: unable to create directory "/usr/lib/cm3/pkg/tspi": errno=13
>
> --procedure-- -line- -file---
> make_dir -- <builtin>
> 1 /data/modula-3/peters-stuff/tspi/AMD64_LINUX/.M3SHIP
>
> ---- END ERROR MSG ----
>
>
>
> Was support for WDROOT removed? Can CM3 support the ability to
> have a private repository, while also having the public repo?
>
>
>
>
>
>
>
> +--------------------------------------------------------+
> | Peter P. Eiserloh |
> +--------------------------------------------------------+
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090706/d8e321a9/attachment-0002.html>
More information about the M3devel
mailing list