Commit Graph

1689 Commits

Author SHA1 Message Date
Jean-Paul Chaput 3e300dd1c3 Change the GDS parser behavior to prevent dreal to coredump.
* Change: In <rds>, gds_parse & gds_error, if a layer whose index was not
    in the rds file was encountered, it was just discarted but the parsing
    did continue, resulting in a possibly incoherent RDS figure.
    Now we just stop the parsing and trigger the error mechanism
    returning a NULL pointer, which is then safely handled by <dreal>.
      Under dreal, the error messages could be retrieved from the
    transient log files /tmp/alliance_all_PID, which is removed when
    dreal close.
2014-05-30 22:44:55 +02:00
Jean-Paul Chaput 620d747763 More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
Jean-Paul Chaput 580913d8cd Some more small problems after the dynamic library reorganisation. 2014-04-29 23:11:02 +02:00
Jean-Paul Chaput c642584e34 Remaining cleanup in vasy & druc Makefile.am
* Bug: References to now non-existent libraries (vasy) and one
    forgotten LIBADD (druc).
2014-04-28 15:30:07 +02:00
Jean-Paul Chaput c1f401b681 Suppress link dependency loop in libraries.
This is the missing message from the N-2 commit.
It also include small corrections.
* Change: There was depency loop in Alliance libraries, mainly between
    the database <mbk> and it's parsers/drivers (<mbkap>, <mbkvti>, ...).
    This was not causing problems on systems that allows symbols to be
    undefined when the library is built, but on others it prevents to
    build at least dynamic libraries, for example under Cygwin.
      Note: to reproduce this behavior under linux pass '-Wl,-z,-defs'
    in the CFLAGS/CXXFLAGS.
      Another side effect was to prevent parallel building (-jX).
* Change: <mbkvhdl> is redundant with <mbkvhdlg> which is newer, so
    this library is suppressed.
* Change: mbk merged libraries, <mbkap>, <mbkvti> goest into Mpu.
    <mbkedif>, <mbkal>, <mbkhilo>, <mbkmg>, <mbkspice>, <mbkmg>,
    <mbkvhdlg> and <mbkvrlog> goes into Mlu.
* Change: rds merged libraries, <rdscif> and <rdsgds> goes into Rds.
    All Rds sub-libraries are also mergeds into Rds.
* Change: vbh merged libraries, <vbl>, <vvh>, <vtl> & <vpd> goes into
    Vbh.
* Change: pat merged libraries, <ppt> & <phl> goes into Pat.
* Change: in <asimut>, the Cst libraries is transferred into <beh> to
    be merged with Beh.
2014-04-22 17:08:09 +02:00
Jean-Paul Chaput 0182089511 Merge branch 'devel'
Conflicts:
	alliance/src/ocp/src/common/Makefile.am
	alliance/src/ocp/src/placer/Makefile.am
	alliance/src/ppt/src/Makefile.am

Devel was not started from the last master commit, have to
push back the changes again...
2014-04-22 12:47:31 +02:00
Jean-Paul Chaput 557c836400 Suppress link dependency loop in libraries.
* Change: There was depency loop in Alliance libraries, mainly between
    the database <mbk> and it's parsers/drivers (<mbkap>, <mbkvti>, ...).
    This was not causing problems on systems that allows symbols to be
    undefined when the library is built, but on others it prevents to
    build at least dynamic libraries, for example under Cygwin.
      Note: to reproduce this behavior under linux pass '-Wl,-z,-defs'
    in the CFLAGS/CXXFLAGS.
      Another side effect was to prevent parallel building (-jX).
* Change: <mbkvhdl> is redundant with <mbkvhdlg> which is newer, so
    this library is suppressed.
* Change: mbk merged libraries, <mbkap>, <mbkvti> goest into Mpu.
    <mbkedif>, <mbkal>, <mbkhilo>, <mbkmg>, <mbkspice>, <mbkmg>,
    <mbkvhdlg> and <mbkvrlog> goes into Mlu.
* Change: rds merged libraries, <rdscif> and <rdsgds> goes into Rds.
    All Rds sub-libraries are also mergeds into Rds.
* Change: vbh merged libraries, <vbl>, <vvh>, <vtl> & <vpd> goes into
    Vbh.
* Change: pat merged libraries, <ppt> & <phl> goes into Pat.
* Change: in <asimut>, the Cst libraries is transferred into <beh> to
    be merged with Beh.
2014-04-22 12:30:26 +02:00
Jean-Paul Chaput 0f2a3365ec Bug in Boog/mbkvhdlg. Compilation issues in ocp & ppt.
* Bug: In <mbkvhdlg>, cast the hash table index entries from pointer
    to unsigned long instead of long to avoid negative numbers when
    computing the modulo (shows on Cygwin). This was causing <boog>
    to crash.
* Bug: In <ppt>, with bison 2.7, yylval must not be re-declared extern
    (didn't show on earlier versions).
* Change: In <ocp>, uses "-std=gnu++0x" instead of "-std=c++0x" to
    have both C++11 features *and* POSIX features (namely: strdup).
    The problem is that strdup is *not* ANSI, but only POSIX and as
    such, not defined when c++0x is active. Will have to change
    again in the future as gnu++0x is on the way of deprecation...
2014-04-07 13:50:48 +02:00
Jean-Paul Chaput 4a9f673667 This commit is only to test (try 16) the mailing list. 2014-02-22 16:04:51 +01:00
Jean-Paul Chaput 5d22f797c6 This commit is only to test (try 15) the mailing list. 2014-02-22 01:21:17 +01:00
Jean-Paul Chaput b7e3c70b9c This commit is only to test (try 14) the mailing list. 2014-02-22 01:10:03 +01:00
Jean-Paul Chaput 781bb6047f This commit is only to test (try 13) the mailing list. 2014-02-22 00:43:07 +01:00
Jean-Paul Chaput b8f8d9f6f5 This commit is only to test (try 10) the mailing list. 2014-02-22 00:32:25 +01:00
Jean-Paul Chaput 96255d0310 This commit is only to test (try 11) the mailing list. 2014-02-22 00:07:55 +01:00
Jean-Paul Chaput fe84c111cd This commit is only to test (try 10) the mailing list. 2014-02-21 23:56:05 +01:00
Jean-Paul Chaput 8dd47943cd This commit is only to test (try 9) the mailing list. 2014-02-21 23:33:14 +01:00
Jean-Paul Chaput fd114efb6f This commit is only to test (try 8) the mailing list. 2014-02-21 19:06:45 +01:00
Jean-Paul Chaput d048b149d0 This commit is only to test (try 7) the mailing list. 2014-02-21 15:45:02 +01:00
Jean-Paul Chaput 54787b9d3e This commit is only to test (try 6) the mailing list. 2014-02-21 15:22:48 +01:00
Jean-Paul Chaput 77b9058a01 This commit is only to test (try 5) the mailing list. 2014-02-21 15:08:37 +01:00
Jean-Paul Chaput 4053d60865 This commit is only to test (try 4) the mailing list. 2014-02-21 14:37:58 +01:00
Jean-Paul Chaput bf1eede024 This commit is only to test (try 3) the mailing list. 2014-02-21 14:19:05 +01:00
Jean-Paul Chaput 66b8472ab5 This commit is only to test (try 2) the mailing list. 2014-02-21 14:13:03 +01:00
Jean-Paul Chaput 60f5fded3a Remove cvslargo tools, no longuer used by git or apache.
This commit will also serve as a test for the mailing list on
the SoC server.
2014-02-21 13:57:26 +01:00
Jean-Paul Chaput 621987703a Remove CVSROOT directory.
This stuff is CVS related and has no reason to stay now.
2014-02-20 13:44:36 +01:00
Jean-Paul Chaput 4c5d439d59 Correct <dp_mux_x4> CALU2 protection of CALU3 connectors.
This is a small commit to serve as a test for the branch push
mail message.
2014-02-19 17:16:19 +01:00
Jean-Paul Chaput 7d2cea9213 Integrating patchs from Roland Stigge (Debian).
* Differing definitions of <ctp_name> structure in ctp.
* Parsing command line in <asimut>, <m2e> & <mips_asm>
  (Debian bugs #715651, #716529 & #716217)
2014-02-19 15:08:05 +01:00
Jean-Paul Chaput 17ace03ec5 Code cleanup with gcc 4.8.1 (RHEL6/devtoolset2).
This version of gcc is even more thorough in finding unused variables.
2014-02-19 00:15:46 +01:00
Jean-Paul Chaput 97aee2580b Code cleanup with cppcheck & gcc 4.4.6 (RHEL6).
This commit is way too big. Next time split it tool by tool.

All tool sources have been checked with cppcheck & gcc. All correctables
errors/warning have been removed:
* Now uses correct conversion specifiers in printf(), mostly 'u' instead
  of 'd' for unsigneds.
* In scanf(), uses systematically a maximum field width, 11 for int,
  22 for long int and the appropriate length for char*.
* In strcpy(), no longer uses same array for source & dest, but uses
  an intermediate array.
* Remove (or comment) unused variables.
* In C++ files, correct constructors attribute initialisation and
  disable copy constructors.
* When possible, correct memory leaks. Some corrections would need a
  more intimate knowledge of the source than I do.
* Removed some "gets()" calls.
* In parsers, undeclare yyunput & yyinput when necessary.
* NOT correct variable scope as it may clutter the code (my opinion).

Specific tools remark:
* In <asimut>, comment beginning with "FRAGILE" signals a very ugly
  trick: structs passed as losig_list but with only the two first
  fields identical.
* In <graal> & <dreal> for char used as table index, uses a cast toward
  int, but in <xfsm>, <xgra>, <xsch> & <xvpn> simply declares the
  variables int.
* In <cells>, dp_nmux_x1.ap, shrink the ALU2 part of the ALU3 terminals
  so they do not collide with neighboring track. Has do to it manually
  as Graal refuse to shrink them. The same correction must be done on
  other cells for nero/kite dual compliance.
2014-02-18 14:53:05 +01:00
Jean-Paul Chaput 43da04a7e4 First cleanup after importation from CVS and misc setup.
* Cleanup: Remove long time unused tools <pcbs>, <grog>, <gcp>, <genview>,
    <growstk>, <ocr> and <vst2xnf>. They may still be recovered by
    reverting to the original 'v5.1' tag.
* Change: In <attila>, remove the CVS checkout part and adapt to the
    slightly different source tree organisation (alliance/alliance/src).
* Setup: Added .gitignore to exclude the files generated "in source" by
    automake (when tools are built).
* New: Small script to perform a complete cppcheck on the whole source
    tree.
2014-02-07 14:08:53 +01:00
Jean-Paul Chaput 06181a9f1d Replace ALU2 blockages by ALU2 of the right connector.
This is for compliance with the Kite router.
2014-01-28 21:38:25 +00:00
Jean-Paul Chaput d4125cb8d1 - Cells, for compliance with the Coriolis2 router Kite.
+ Change: In dp_sxlib, dp_mux_x4 & dp_nmux_x1 removes METAL2 blockages
      under METAL3 terminals and replace them by strips of METAL2 belonging
      to the relevelant net. The previous configuration was generating
      impossible cases for Kite to solve.
2013-12-11 14:20:08 +00:00
Jean-Paul Chaput 7f331cf5e4 Compatibility with cgt, blockage vs. access problems. 2012-12-20 08:47:39 +00:00
Jean-Paul Chaput bc7a98f941 Align to the new package version. 2012-05-23 14:44:24 +00:00
The Alliance Tool 7073f0641f Typo in spec file. 2012-05-14 14:43:34 +00:00
The Alliance Tool fcb6699cc6 Updated GNU/FSF address (patch from Thibault North). 2012-05-14 14:20:56 +00:00
Jean-Paul Chaput 6c7b9dd460 One more trace of bench.zsh removed. 2012-05-08 10:31:25 +00:00
Jean-Paul Chaput 8c45a0c37a Remove bench.zsh from the distributed files. 2012-05-08 10:13:58 +00:00
Jean-Paul Chaput 8d51e98c07 Remove the zsh dependency. Was only a side effect of bench.zsh,
also removed.
2012-05-08 10:08:04 +00:00
Jean-Paul Chaput aee71bd385 No need for zsh to run the bench. Uses bench.sh. 2012-05-08 10:06:51 +00:00
Jean-Paul Chaput d3b4216186 Missing dependencies zsh & python-central (signaled by lintian). 2012-05-07 22:29:52 +00:00
Jean-Paul Chaput e4459e26c7 ALLIANCE_EXAMPLE correctly set for Ubuntu. 2012-05-07 22:24:17 +00:00
Jean-Paul Chaput 913c0b0ed0 Reorder library for linking. Ubuntu 12.04 supplies gcc/ld versions
that are more picky about symbols definition order.
2012-05-07 21:02:22 +00:00
Jean-Paul Chaput d815ff6986 Some adjustements to build a more Ubuntuish package...
(less lintian errors).
2012-05-07 14:45:01 +00:00
Jean-Paul Chaput 2bd728e45e Under Ubuntu, push/popd are present only if we invoke bash,
not sh.
2012-05-07 14:43:35 +00:00
Jean-Paul Chaput 86c63fd1f7 Remove CVS file in patches directory before distributing. 2012-05-06 12:11:44 +00:00
Jean-Paul Chaput 4630fc7805 Missing trailing backslash. 2012-05-06 11:27:56 +00:00
Jean-Paul Chaput d5406ae6be Updated packaging configuration for Debian/Ubuntu.
Remove Makefile.am in debian directories (the dpkg/lintian complains about
them).
2012-05-06 11:22:22 +00:00
Jean-Paul Chaput 0acc8549f9 Distribute alliance-env.mk. 2012-05-04 14:26:24 +00:00
Jean-Paul Chaput 12f51dea43 Put all the Alliance installation detection stuff in one
makefile: alliance-env.mk. Modify all sub-Makefiles accordingly.
Now should be able to run:
1. In the CVS tree (or in the source .tar.gz)
2. In a user installation.
3. In the system wide (packaged) installation.
2012-05-04 14:23:34 +00:00