Commit Graph

51 Commits

Author SHA1 Message Date
Scott Fennell
e17509b6d1 add trick-CP --help message #677 2018-10-22 09:20:55 -05:00
anon
9a2bab0df2 #603 #623 2018-05-22 14:53:10 -05:00
anon
bd0cfec731 #603 #623 2018-05-22 14:36:46 -05:00
anon
d764a67709 #603 restored 'make print-%' in sim directory 2018-05-22 14:01:32 -05:00
Alex Lin
2b241acc0f Put units warnings in MAKE_out #547
Redirected the output of ICG and other commands in the top level
makefile to build/MAKE_out.  Moved the command that removes the
MAKE_out file to where it will only be executed once when the
make process starts.
2018-02-20 09:47:59 -06:00
Alex Lin
c3f94fec49 Only print TRICK_CFLAGS and TRICK_CXXFLAGS once during compilation #551
Added a test to see if MAKE_RESTARTS exists.  If it does not print
the TRICK_CFLAGS and TRICK_CXXFLAGS.
2018-01-23 14:18:01 -06:00
Alex Lin
36a91abbc3 S_overrides.mk is not read last. #544
Switched the inclusion of S_overrides.mk and build/Makefile_overrides.  S_overrides.mk
is now last as it is supposed to be.
2018-01-18 13:20:46 -06:00
Christopher LaChance
418df6bb9d Fixed typo in trick-units. 2017-08-01 15:39:12 -05:00
Christopher LaChance
947a0a24cf Added a new binary file that will display Trick's available units when called. 2017-08-01 14:23:21 -05:00
Alex Lin
b2ebe157ed Lost the MAKE_out file when we updated simulation makefiles #412
Added echos to all compile commands to append to MAKE_out.  tee'd
the output of the compile command so that it will go to both the MAKE_out
file and the screen.
2017-04-18 10:26:58 -05:00
Derek Bankieris
b53c52ac33 Separate ICG & SWIG exclusion constructs
Refs #392
2017-03-27 15:19:43 -05:00
Derek Bankieris
22d0fe9f23 Disable built-in implicit rules when building SIMs
Make spends a considerable amount of time checking targets against
built-in implicit rules. Let's turn them off, enjoy some speedup, and
see if anyone was relying on them!

Refs #360
2017-03-14 10:50:14 -05:00
Alex Lin
b2f8c9894e S_overrides.mk is included twice when building #360
Moving targets to the more correct makefile like defining S_MAIN should
be in make_makefile_src.  Moved the makefile_overrides rules read from
directories into their own makefile.
2017-02-24 08:44:34 -06:00
Derek Bankieris
738959eba1 Add missing prerequisites on dependency files
Refs #360
2017-02-23 16:02:32 -06:00
Alex Lin
31f0ea95ad S_overrides.mk is included twice when building #360
Moved some rules from trick-CP to convert_swig.  Using alternative pattern
rules in Makefile_src I believe is faster.
2017-02-23 14:05:38 -06:00
Derek Bankieris
e6ad95f493 Grand Make Dependency Graph, part 1
Refs #360
2017-02-23 13:26:28 -06:00
Alex Lin
02617bf7da S_overrides.mk is included twice when building #360
Changed some order only dependencies to actual dependencies.  Added a
check in make_makefile_src for new files that should trigger recreating
Makefile_src.
2017-02-22 08:44:12 -06:00
Derek Bankieris
55d53c3f5e Include S_overrides.mk regardless of build target
We if exclude it for clean targets, users can't append any prerequisites
to clean targets.

Refs #360
2017-02-17 15:47:23 -06:00
Alex Lin
9d587a45c2 S_overrides.mk is included twice when building #360
Moved makefile assignment of S_MAIN out of MAkefile.common to simulation
makefile.  The definition in Makefile.common was causing trouble for
autotesting because it changes TRICK_HOST_CPU.
2017-02-14 08:34:02 -06:00
Alex Lin
337139cacb S_overrides.mk is included twice when building #360
A different approach.  Instead of trying to limit the number of times
S_overrides.mk is included, combine the makefiles so only one
call to make is made.
2017-02-09 09:46:58 -06:00
Alex Lin
55db2fedb3 Create a distclean target in the sim makefile #342
distclean target added to makefile.
2016-11-03 15:20:05 -05:00
Alex Lin
2918662767 Create a trick-config script #298
Created trick-config that can print the version, installation prefix,
and compile and link flags that Trick defines.
2016-09-07 09:33:03 -05:00
Alex Lin
d0349772d5 configure script doesn't check for clang headers #287
Added a configure check for clang/Basic/LLVM.h.
Also removed -lz from the link libraries.  I don't think we need it.
2016-08-23 08:58:16 -05:00
Alex Lin
60473dde03 Move clean rules to makefile in sim directory. #284
Moved the clean rules to the makefile in the sim directory.  They will
always work whether the rest of Trick is set up or not.
2016-08-19 09:57:13 -05:00
Derek Bankieris
d8dad4a7f7 #247 Forgot to remove the executable with the last commit 2016-08-02 10:14:10 -05:00
Alex Lin
ca02209d8f man pages completely out of date #253
Created man pages for each executable we have in bin.  Updated the
couple of man pages we did have in there.  Modified trick-CP
to accept arguments.  Updated the version number reported by ICG
as well.
2016-08-02 09:56:43 -05:00
Dan Jordan
1f30ac8e04 Added optional var=value support for trick-CP as passthroughs to the
make system.
                             ***     ***
                           **   ** **   **
                          *       *       *
                          *   MAKE_out    *
                           *             *
                            **         **
                              **     **
                                ** **
       -------------------        *        --------------------
   ../                     \..         ../                     \..
  /                           \       /                           \
 |.,       __   _..._          \     /        ....     ___         |
 /  \     /  `-'     `-------...    ..--`````'    `--'    \.    ./` \
 |   \--_-               /    o ``X'  o    \                '--/    |
 |         ( ( ( ( (    /    \   /``\   /   \  ) ) ) ) )            |
 |   /---\                   ./|`    |`\.                  ..-..    |
 |  /     \-..-........-```/`./       \..`--.........-.  ./     `-./
  `'\                      /             \.            ``       /--
      \___________________/                \___________________/
2015-10-21 14:44:49 -05:00
Alex Lin
e1c1bbaccf Split CP up into components that can be called individually
Initial rough checkin that partially works for the ball sim.

refs #86
2015-07-16 15:36:36 -05:00
Alex Lin
eed8837478 Standardize directory names
RedHat systems use a libexec directory, MacOSX and Ubuntu use lib.  Changed our scripts and makefiles to handle both.

refs #63
2015-06-12 15:24:36 -05:00
Alex Lin
19025d77ad Standardize directory names
Reorganized.  Created a new top level include directory that will hold all of Trick's header files. Moved all of the Trick headers to this directory.  Created a libexec directory that holds all of the executables that users don't need to execute directly.  Changed all of the executables remaining in bin to start with "trick-".  In the sim_services directories changed all source files to find the Trick headers in their new location.  Since all of the include files are gone in sim_services, removed the src directories as well, moving all of the source files up a level.  Moved the makefiles, docs, man, and other architecture independent files into a top level share directory.  Renamed lib_${TRICK_HOST_CPU} to lib64 or lib depending on the platform we're currently on.

refs #63
2015-06-09 08:44:42 -05:00
Alex Lin
5bfee865cd Creating 15.0.0 release
Incrementing version number in trick_ver.txt to 15.1.0

refs #56
2015-05-21 16:30:28 -05:00
Alex Lin
514a06a0f7 Creating changelog for release.
Creating changelog for release.

refs #56
2015-05-18 14:57:28 -05:00
John M. Penn
d8013068cc Fix #52 : Created a python script to generate the changelog 2015-05-05 11:19:48 -05:00
Alex Lin
1b5ed16686 Add batch files to start GUIs under Windows
Forgot need to keep the name of the directory that houses the
batch files bin, not bat.
2015-04-29 15:33:33 -05:00
Alex Lin
7ecfcad90a Add batch files to start GUIs under Windows
Added a couple of batch files in the java GUI area so they can be used with
Windows.  Made an addition in TrickApplication.java to add the .bat suffix
to script calls when using Windows.

Fixes #47
2015-04-29 15:01:45 -05:00
John M. Penn
6aff648c0d Change trick_ver.txt to 15.0.0 and add Change Log. Fix #46 2015-04-27 10:17:20 -05:00
John M. Penn
8608fd73fc Fix#45: removed thread_version and services issues cruft 2015-04-24 15:51:09 -05:00
Alex Lin
871c6904d5 make install incomplete
Perl scripts linked into /usr/local/bin or anyother directory needs
to use FindBin qw($RealBin) instead of just FindBin qw($Bin).  Realpath
will find the absolute path to where the script actually lives and the
pm directory that holds the perl modules.
2015-04-06 14:31:58 -05:00
Alex Lin
9ab5406573 Revert "Remove dependency on perl Digest::MD5"
This reverts commit be6d918053.

Undo #29.
2015-04-06 08:00:51 -05:00
Alex Lin
2fa76ce704 Remove dependency on perl Data::Dumper
Removed all references to Data::Dumper.  Only one module was
even using the Data::Dumper.

Fixes #30.
2015-03-25 15:50:55 -05:00
Alex Lin
be6d918053 Remove dependency on perl Digest::MD5
We were using md5_hex to generate a unique file id from a full path
filename.  Changed this to use the file device and inode id instead.
Should still provide unique file ids and the file names are shorter
too.

Fixes #29
2015-03-25 10:43:25 -05:00
Alex Lin
48a09d386e CP needs more verbose checking of makefile generation
CP now tests if the current directory is writable before
trying to create a makefile and compile the sim.

Fixes #26.
2015-03-23 17:07:38 -05:00
Alex Lin
14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00
Derek Bankieris
d41e7cb937 Genericized the VS* suite of classes, reducing redundancy.
Added a <state> element for variables in TV files.
Added a Trick 13 to Trick 15 TV file converter.
Updated .gitignore files.
fixes #21
2015-03-16 11:36:51 -05:00
Thomas Brain
e7ccc77c1e Added LIB_DIR and OBJECT_DIR as deps for S_OBJECT_FILES 2015-03-13 15:16:10 -05:00
Thomas Brain
2fc373360c In Makefile_swig, needed LIB_DIR and OBJECT_DIR as deps for swig objects. 2015-03-13 12:21:41 -05:00
Alex Lin
21c3eaf500 Fixed shell detection logic.
Fiexed the shell detection logic by not trying to.  Changed the
install_user script to just print the add TRICK_HOME to the
PATH for both types of shells.

Fixes #9
2015-03-11 08:14:46 -05:00
Alex Lin
dbaf7e8ea3 Incrementing the major number in trick_ver.txt. This is only symbolic as this file is overwritten at release time, the major number will be contained in the tag name. Fixes #8 2015-03-04 15:28:05 -06:00
Alex Lin
a1fea8a36f Added code to trick_dp that will check if fxplot exists. If it does then it will
add a radio button for it.  If it doesn't exist, it will not show up in the plot
menu.
2015-03-04 13:37:20 -06:00
Alex Lin
2fab93da66 Added rules in the makefile to include er7_utils and fermi-ware if they exist. If they don't exist then the code that depends on them will not be compiled.
Also added the java GUIs to the default build rule.

Finally I added a lot of .gitignore files to ignore generated files.

Fixes #5
2015-03-03 16:08:54 -06:00