dbankieris
35c2dacac5
Merge pull request #785 from nasa/746
...
Clean up duplication in makefiles
2019-05-30 16:27:51 -05:00
dbankieris
ae09b2b243
Merge pull request #780 from nasa/505
...
Autogenerate SWIG dependencies
2019-05-30 16:04:27 -05:00
Derek Bankieris
7b0e84e58e
Clean up duplication in makefiles
...
Normalize behavior of TRICK_VERBOSE_BUILD
Closes #746
2019-05-30 15:47:07 -05:00
Derek Bankieris
cf5c087ef0
Autogenerate SWIG dependencies
...
Add flags to SWIG invocation for PYTHON MODULE files
Make dependency files order-only prerequisites
Refs #505
2019-05-30 09:52:06 -05:00
Scott Fennell
aed4c94e56
version number to 19.1.dev
2019-05-29 15:29:41 -05:00
Scott Fennell
51c9d69ac8
Trick 19 is here (╯°□°)╯︵ ┻━┻
2019-05-29 15:23:52 -05:00
Scott Fennell
24e1ec6d46
update version number
2019-05-29 15:13:13 -05:00
dbankieris
a3c7b57a0a
Merge pull request #778 from esduran/fix/with-tpro-path-bug
...
Consistently use TPRO_HOME over TPROCTE_HOME
2019-05-29 14:54:03 -05:00
Derek Bankieris
36c19e1589
Change TPROCTE_HOME to TPRO_HOME in config_user.mk.in
2019-05-29 14:50:58 -05:00
Derek Bankieris
7b7ecaa0c4
Trickification: autogenerate SWIG dependencies
...
Refs #505
2019-05-29 10:45:26 -05:00
Derek Bankieris
881ee69757
Improve Python 3 support in variable_server.py
...
Correct send_on_copy's variable server string
Closes #777
2019-05-22 11:38:35 -05:00
Derek Bankieris
3e3bc02cd2
Correct TRICK_CONVERT_SWIG_FLAGS in Makefile_swig
...
Fixes #770
2019-05-10 15:30:17 -05:00
nmerlene
38bfdf2a54
Convert string to bytes in variable_server.py for Python 3
...
* Method socket.sendall() expects bytes to be sent, rather than a string
* Python 3 stores text strings as unicode (not ASCII) by default
* Therefore, strings must be explicitly converted to bytes for Python 3 compatibility
* This works for both Python 2 and Python 3 (tested on Python 2.7, Python 3.6, and Python 3.7)
2019-04-24 15:45:06 -05:00
Scott Fennell
49e243b54a
Merge branch 'master' into VERBOSE-synonym
2019-04-02 13:34:52 -05:00
Aaron Brogley
e52449309c
Create the shortcut trick.mc_add_variable.
...
This is shorter than the existing trick_mc.mc.add_variable and is
accessible through the trick namespace with 'import trick'.
2019-03-26 16:58:27 -05:00
Derek Bankieris
951bee52c0
Use existing variables for LD and c++
...
This is why we have code reviews!
2019-03-25 11:33:50 -05:00
Derek Bankieris
4146834f10
Support static/dynamic libraries in Trickification
...
Update documentation
Change TRICK_LIB_BUILD_TYPE to TRICKIFY_BUILD_TYPE
Remove support for linking in arbitrary objects
Conform logging to existing pattern
2019-03-25 10:49:34 -05:00
Scott Fennell
644a9a0e00
#741 add VERBOSE synonym everywhere
2019-03-21 09:28:52 -05:00
Jose Perez
787f2c7dc2
Support Shared and Static library. Optionally package trickified generated code and source code in to one library.
2019-03-20 15:32:11 -05:00
dbankieris
348bbb3798
Add ExecutiveException.hh to sim_services.i ( #691 )
...
* Add ExecutiveException.hh to sim_services.i and files_to_ICG.hh
* Update version number
Fixes #690
2018-10-30 13:49:55 -05:00
Scott Fennell
437ee149b5
release 17.4.0
2018-10-25 15:45:40 -05:00
Derek Bankieris
f6872aa12c
Add missing dependency to Trickification makefile
...
Fixes #679
2018-10-18 11:37:59 -05:00
Derek Bankieris
d38c30ad02
SWIG all of S_library_swig during Trickification
...
Fixes #681
2018-10-18 10:45:13 -05:00
Scott Fennell
8044c03176
#618 update trickify.mk flag name
2018-07-09 09:41:34 -05:00
Scott Fennell
bf7ce2db3c
#618 revert/remove TRICK_SYSTEM_SWIG_FLAGS. Wiki and trickify.mk update still required
2018-06-29 11:06:50 -05:00
anon
ef634c9f48
#618 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS. *_FLAGS are swig options, *_CFLAGS are g++ compiler options for swig objects. TRICK_SYSTEM_* options should not be changed by trick users
2018-06-27 13:58:44 -05:00
anon
23fef115c8
#603 #623
2018-05-22 14:55:47 -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
Derek Bankieris
2ce53dadd2
Move pymods into share/trick
...
Fixes #574
2018-03-05 15:17:22 -06:00
Alex Lin
4bf35a9c82
Revert "Merge pull request #533 from nasa/MakefileCleanup"
...
This reverts commit 269ed77cb4
, reversing
changes made to d97f482219
.
2018-03-02 08:59:26 -06:00
Alex Lin
9dd302f4b1
Trick makefile output formatting and cleanup. #533
...
Removed the red from the clean rules. We'd like to reserve red for
errors. Ended up removing all color from the clean side.
2018-03-01 08:51:57 -06:00
Alex Lin
9643311f4c
Merge branch 'master' into MakefileCleanup
2018-03-01 08:32:08 -06:00
Alex Lin
d97f482219
Allow the FrameLog class to use a different clock #571
...
Added a clock reference that to the FrameLog class that defaults
to the GetTimeOfDay clock. This clock has fast access and is
non intrusive to real-time operations using a different clock.
Added a function to set the clock to something else if desired.
2018-02-28 17:33:09 -06:00
John M. Penn
64d44d6fa8
Updates to Trick 17 Tutorial slides. Ref #554
2018-02-22 15:47:40 -06:00
John M. Penn
907cd2c481
Created Trick17 Tutorial Review Slides. Ref #554
2018-02-20 18:25:26 -06:00
Alex Lin
8f76605f3b
Create Message client that writes to screen on a separate thread #553
...
Created a new message class that will copy incoming messages to a
buffer area. The buffer area is pre allocated during simulation
initialization. On a separate thread the buffer area is written
to std::cout.
2018-01-25 15:59:19 -06:00
Derek Bankieris
5db74dc804
Prefer simply-expanded variables in makefiles
...
Closes #538
2018-01-09 12:19:16 -06:00
Alex Lin
c694700148
Add environment variable to ignore types from ICG processing #535
...
Added a new environment variable TRICK_ICG_IGNORE_TYPES. Class/struct/enum
types found in this semicolon delimited list will not have attributes written
out.
2017-12-19 10:02:41 -06:00
Christopher LaChance
6e0fcbd947
Updated formating and replaced formating variables.
2017-12-07 15:10:39 -06:00
Christopher LaChance
1bb3ac2a06
Cleaned up 'make clean' output significantly.
2017-12-06 13:12:13 -06:00
Derek Bankieris
380ab024a4
Add --with-udunits path to TRICK_EXCLUDE
...
Fixes #524
2017-12-04 11:02:03 -06:00
Alex Lin
de012dde71
Feature request: Support checkpointing and logging of std::array #480
...
Added std::array as an STL type Trick recognizes. We can now create io code
that can save and restore std::arrays like std::vectors and other similar
types. Like other STL types, an std::array cannot be logged or viewed in
trick-tv.
2017-09-27 16:01:52 -05:00
Alex Lin
e2693de992
Many Trick sims SEGFAULT when built in 32-bit mode #440
...
Added a switch to trick-ICG to handle the -m32 flag. When the
flag is present we tell clang to use a 32bit layout when calculating
member offsets.
2017-06-19 14:18:37 -05:00
Derek Bankieris
bb9b136a66
Remove CURDIR in trickify.mk
...
Reverts the important parts of c909669
. Trying to include another
project's build dependencies as part of a sim build doesn't work that
well.
Refs #309
2017-05-30 08:56:06 -05:00
Alex Lin
34c62c5aab
Sim build doesn't stop on error #421
...
PIPESTATUS is only available in bash. For many of the systems
we use /bin/sh and /bin/bash are the same, but noooo, not on
Ubuntu where it is linked to dash. I set SHELL := /bin/bash
in our makefile now.
2017-05-18 14:34:32 -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
2db341cff8
Revert (almost all of) 2e4c3286
...
Sadly, we cannot yet require SWIG 2.0.
Refs #400
2017-03-28 15:59:08 -05:00
Derek Bankieris
b53c52ac33
Separate ICG & SWIG exclusion constructs
...
Refs #392
2017-03-27 15:19:43 -05:00