Commit Graph

189 Commits

Author SHA1 Message Date
Scott Fennell
f825dc00fc
Merge test branch into master (#1047)
* #1041 filter -W workaround for ICG linking to LLVM 10 libclang-cpp.so (#1044)

* 1043 drg checkpoint memory leak (#1045)

* #1043 drg fix drg checkpoint memory leak

* 947 sie generation rework (#1046)

generate  S_sie.resource at during build instead of runtime
2020-09-01 15:55:19 -05:00
Keith Vetter
cef656e80b
Fix TRICK_HOST_CPU gcc version for Ubuntu 18.04+ (#1024) (#1026)
In later versions of gcc, gcc -dumpversion only shows the major version. You have to use gcc -dumpfullversion instead. This was first seen from a Trick user who is running on Ubuntu 18.04.
2020-08-16 18:46:17 -05:00
Derek Bankieris
ab2cfe1a34 Silence SWIG warning 315
Nothing known about identifier

Closes #1025
2020-08-11 14:34:54 -05:00
Scott Fennell
3615fa47b5
Iss #1012 (#1013)
* add -Wno-maybe-initialized GCC flag to makefile_swig closes #1012

* install diffutils on centos 8 image
2020-06-30 14:13:43 -05:00
Derek Bankieris
023b626fc4 Fully qualify TRICK_SWIG_TEMPLATE identifiers
Closes #1003
2020-06-03 11:18:25 -05:00
Derek Bankieris
0a5a202053 Fix template regex in convert_swig
Fixes #999
2020-05-15 15:12:17 -05:00
Scott Fennell
3587c0419c #951 fix macOS dock icon 2020-02-12 15:46:55 -06:00
Scott Fennell
4f5ce7e4a1
Maven, offline mode, and --enable-mongoose (#939)
closes #938 
closes #941 
closes #943
2020-02-05 14:31:58 -06:00
Scott Fennell
909d8991f1
#926 https instead of http for java downloads (#927)
closes #926
2020-01-15 12:01:56 -06:00
Derek Bankieris
5a7ec20606 Support default member initializer for templates
Closes #918
2019-12-11 14:19:10 -06:00
Alex Lin
ce0cdc9636
Cmake merge (#901)
* Merging changes from cmake branch to master

* Fixing includes for renamed header files

* still need build rule

* Adding warning for swig code for gcc8+

* Adding CMakeLists.txt for data products

* Cmake merge #901

Making adjustments to get cmake working on the Mac (Mojave)

* Cmake merge #901

Changing string append to list append
2019-11-19 09:01:16 -06:00
Scott Fennell
29e047f7a7 remove dependency on JUnitXMLFormatter 2019-11-12 08:47:16 -06:00
Derek Bankieris
af0520d604 Download JARs in parallel
The reason for .NOTPARALLEL was to prevent mixing of the download
progress messages, so use the -s and -S curl options to silence output,
except for errors.
2019-10-31 12:27:29 -05:00
Alex Lin
34833be0de
configure script fails in RHEL/CentOS 8 #887 (#888)
If we can't find python in the configure script then search for
python3.  If python3 is found use python3-config to get the
include directories and libraries.  Call python scripts using the
PYTHON environment variable.
2019-10-21 13:29:26 -05:00
Derek Bankieris
1f33406c95 Don't trace TRICK_EXT_LIB_DIRS lib deps in CP
Refs #871
2019-10-07 14:12:06 -05:00
Derek Bankieris
2d88126639 Fix VERBOSE=1 in verbose_build.pm
How I hate you, Perl.

Fixes #873
2019-09-27 15:58:56 -05:00
Derek Bankieris
894c531541 Skip paths in TRICK_EXT_LIB_DIRS in get_lib_deps
Closes #871
2019-09-27 10:42:03 -05:00
Alex Lin
f117839d2f Add support for Mac's removal of /usr/include #810
Add line to ignore all files from /usr/local/include explicitly while
creating makefile for swig processing.
2019-07-10 08:27:13 -05:00
Scott Fennell
82bae3b0d0 #836 remove all S_default.dat stuff 2019-07-09 15:58:26 -05:00
Derek Bankieris
67decaed24 Add support for -isystem
Closes #407
2019-06-20 10:12:33 -05:00
Derek Bankieris
6c9326f760 Add makefile function for target-specific variable
Closes #672
2019-06-19 15:57:26 -05:00
dbankieris
053bcfe0b2
Merge pull request #825 from nasa/824
Fix TRICK_VER in make_makefile_swig
2019-06-19 15:32:19 -05:00
Alex Lin
b778e16bc1 Deprecate TRICK_CPPC in trick-gte #826
Added a new hash of deprecated values into trick-gte.  If a deprecated
value is requested, a warning message is printed with the value.  If
all of the values are printed, the deprecated values are printed in
their own section.
2019-06-19 13:55:45 -05:00
Derek Bankieris
6bb061738e Fix TRICK_VER in make_makefile_swig
Fixes #824
2019-06-19 13:32:52 -05:00
Alex Lin
04d50df7cd
TRICK_HOST_CPU incorrect with gcc 7 #598 (#816)
Changed the regular expression that grabs the gcc version to accept
either 1 digit or 2.
2019-06-18 11:00:21 -05:00
Alex Lin
497f11f132
Make TRICK_CXX variable to specify c++ compiler #767 (#815)
Changed all references of TRICK_CPPC to TRICK_CXX.  Added a
warning message that TRICK_CPPC has been deprecated.
2019-06-18 11:00:08 -05:00
Derek Bankieris
9f3175d01b Use TRICK_CXXFLAGS for include paths & defines
Fixes #819
2019-06-18 10:52:37 -05:00
Derek Bankieris
1721fc6652 Remove SWIG_*_CUSTOM_OUTDIR
Closes #803
2019-06-03 11:41:39 -05:00
dbankieris
f7a7419e0d
Merge pull request #799 from nasa/798
Redo accidentally undone changes
2019-06-03 09:42:32 -05:00
dbankieris
b68eb1b5e6
Merge pull request #797 from nasa/796
Clean up inconsistencies in make_makefile_swig
2019-06-03 09:42:15 -05:00
dbankieris
38d769e995
Merge pull request #795 from nasa/794
Remove make target "sie"
2019-06-03 09:41:59 -05:00
Derek Bankieris
893249457f Immediately add file to md5s after check
Fixes #753

(cherry picked from commit 497f50e152)
2019-05-31 15:56:36 -05:00
Derek Bankieris
6fc9e5d1ef Lift get_paths into its own module
Fixes #752

(cherry picked from commit bde2ec5158)

Conflicts:
	libexec/trick/convert_swig
	libexec/trick/make_makefile_swig
2019-05-31 15:54:49 -05:00
Derek Bankieris
2197b3edc2 Clean up inconsistencies in make_makefile_swig
Closes #796
2019-05-31 15:39:57 -05:00
Derek Bankieris
2c6c19e840 Remove make target "sie"
Closes #794
2019-05-31 15:08:55 -05:00
Derek Bankieris
bf1ac4a2c6 Remove redundant prerequisite for "all" target
Closes #792
2019-05-31 14:51:38 -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
Derek Bankieris
7b7ecaa0c4 Trickification: autogenerate SWIG dependencies
Refs #505
2019-05-29 10:45:26 -05:00
Derek Bankieris
99d856a17f Autogenerate SWIG dependencies
Require SWIG >= 2.0

Closes #505
2019-05-29 09:03:19 -05:00
Derek Bankieris
3e3bc02cd2 Correct TRICK_CONVERT_SWIG_FLAGS in Makefile_swig
Fixes #770
2019-05-10 15:30:17 -05:00
Derek Bankieris
e6509df362 Improve scoping of SWIG %template directives
Refs #768 & Refs #769
2019-05-10 15:19:33 -05:00
dbankieris
ef1d105bfb
Improve parsing of base-clauses in S_define
A base-clause is the stuff in an inheritance list after the colon in a
class declaration.
https://en.cppreference.com/w/cpp/language/derived_class

Closes #723
Closes #733
2019-05-08 08:41:50 -05:00
Alex Lin
4d82c1589d Python init code does not work when using SWIG 4.0 #760
Forgot to reverse the import order for modules users are adding to
namespaces.  Interesting, the unit tests only failed on the Mac for
this.
2019-05-03 09:14:05 -05:00
Derek Bankieris
497f50e152 Immediately add file to md5s after check
Fixes #753
2019-04-11 08:55:41 -05:00
Derek Bankieris
bde2ec5158 Lift get_paths into its own module
Fixes #752
2019-04-09 13:28:16 -05:00
Scott Fennell
49e243b54a
Merge branch 'master' into VERBOSE-synonym 2019-04-02 13:34:52 -05:00
Scott Fennell
644a9a0e00 #741 add VERBOSE synonym everywhere 2019-03-21 09:28:52 -05:00
Alex Lin
41f151f2ee Adding doxygen style python module desgnation.
Adding another file to example that shows 2 files in same namespace.
2019-03-14 09:33:50 -05:00
Alex Lin
62948308b6 Adding back a lost capability, but better this time. The user can now
specify a python module name where the class and functions will be
visible in python.  With care the user can mimic the C++ namespaces their
models reside in, but it isn't perfect nor automatic.  It's still pretty
neat.
2019-03-13 16:17:08 -05:00