Commit Graph

52 Commits

Author SHA1 Message Date
Yuta Saito
1a01c5edc1 ICU-20978 Reduce unnecessary building for tools when cross-building 2020-03-17 18:42:30 -07:00
Fredrik Roubert
d8f14e22df ICU-20758 Add a StringPiece constructor for any string view type.
Using the C++ SFINAE (substitution failure is not an error) technique,
it's possible to provide an icu::StringPiece constructor that accepts
any string view type that might be available in the current compilation
unit, without adding any additional dependencies or configuration flags
to ICU.
2019-08-15 13:36:09 +02:00
Steven R. Loomis
fc487bf32b ICU-20493 Warn on global/static c’tors
- add -Wglobal-constructors to clang (only for libs)
- Note: ignore 'runstatedir' flap in configure
2019-07-26 15:16:13 -07:00
Norbert Runge
1606c4c586 ICU-20652 Adds Makefile.in, a fuzzer driver, and minor changes to in fuzzer
targets to test/fuzzer/ directory. This will enable compilation and
smoke test of fuzzer targets as part of the ICU continuous build.

ICU-20652 Fixed exit-on-error behaviour of fuzzer targets execution.
Minor clean-ups and improvements

ICU-20652 Modifies fuzzer/Makefile.in to fix Windows build issue.

ICU-20627 Adds explicit enablement of fuzzer targets build to ICU4C
configuration and Makefile.in. File 'configure' was created from
'configure.ac' by executing 'autoreconf'.

autoreconf added some new entries into 'configure' about runstatedir. Not sure
why it did this, they are not related to fuzzer.
2019-06-18 14:43:33 -07:00
Shane Carr
702fdb6c33 ICU-20593 Renaming Python buildtool to icutools.databuilder. 2019-05-07 13:42:06 -07:00
Shane F. Carr
732bf71451 ICU-20528 Fill in testdata/rules.mk when there is no Python. 2019-04-03 17:03:26 -05:00
Steven R. Loomis
3a28fb7216 ICU-20479 don’t leave junk in source directory on configure or make check
- see also ICU-20062
- add a `-B` option to the two python invocations on Windows
- set PYTHONDONTWRITEBYTECODE in configure.ac and icudefs.mk.in

Co-authored-by: Fredrik Roubert <roubert@google.com>
2019-03-08 14:28:27 -08:00
Steven R. Loomis
67d218f247 ICU-20470 skip data/rules.mk regen for source tarball
- If icu/source/data/locales/root.txt missing, skip
  python rules.mk generation.
- Also, create build directories properly as needed
- Also includes noise changes to configure
  (configure was probably generated using unreleased
   autoconf 2.70 or 2.69 + patches)
- eac8f4b31a did not
  regen configure properly, so BUILDTOOL_OPTS is now
  ICU_DATA_BUILDTOOL_OPTS
2019-03-04 07:40:40 -08:00
Shane Carr
eac8f4b31a ICU-20460 Adding mechanism to build unicore data into dat file. 2019-02-27 18:36:02 -08:00
Shane F. Carr
8db0321f54 ICU-10923 Adding file replacement mechanism to buildtool. 2019-02-20 12:20:25 -06:00
Shane Carr
06a8de0f0a ICU-10923 Configure should fail when Python fails. 2019-02-15 17:10:59 -08:00
Shane Carr
ccba38d382 ICU-20298 Adding improved locale filtering to buildtool.
- Integrates changes from cldrbug 11802 to ICU.
- Adds test suite for buildtool.
- Adds new filter type "union".
2019-01-28 13:43:17 -08:00
Shane Carr
1a453301ee ICU-10923 Adding unix-exec mode to buildtool and updating help page.
- Renames --format flag to --mode.
- Renames windirect to windows-exec.
2019-01-25 15:34:44 -08:00
Shane Carr
c30cd07c7e ICU-20299 Adds Python 2.7 support to data build script. 2018-12-12 12:56:00 -08:00
Shane Carr
a2a39e69d0 ICU-10923 Adding initial version of data file filtering.
- Reads filters.json or .hjson from ICU_DATA_FILTER_FILE environment variable
- Adds DepTarget for dependency semantics, and warns for missing deps.
- Fixes certain tests that crash with sliced locale data.
- Includes support for 4 filter types.
2018-12-07 16:51:18 -08:00
Steven R. Loomis
00b360227b ICU-20247 use = instead of == in sh compare
* Note: the diff will show changes to "runstatedir". This is
a feature which ICU does not use, and it is not in any released
autoconf version. Perhaps some distributions patched autoconf
locally.

https://lists.gnu.org/archive/html/autoconf/2018-07/msg00006.html
2018-12-05 14:32:36 -08:00
Shane Carr
ee9c0b944c ICU-10923 Rewriting data build orchestration in Python.
- Creates new Python package in icu4c/data/buildtool
- Creates BUILRDULES.py in icu4c/data and icu4c/test/testdata, unified between Unix/Windows
- Removes most data build orchestration rules from makedata.mak, testdata.mak, data/Makefile.in, and test/testdata/Makefile.in
- Removes pool.res files and builds them on the fly instead
2018-11-19 13:43:35 -07:00
Shane F. Carr
a38beef113
ICU-20160 Add check for Python 3 in autoconf and nmake. (#157) 2018-09-27 14:27:41 -07:00
Andy Heninger
0a1513bcc9
ICU-12505 U_HAVE_STD_ATOMICS, reduce & simplify configure options. (#52) 2018-09-27 14:27:38 -07:00
Hugh McMaster
e21982ce40
ICU-10464 Make installation of icu-config optional (#13)
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Originally ICU-20030
2018-09-27 14:27:37 -07:00
Jeff Genovy
4bf9c4a8be ICU-13667 Fix discrepancy in text in 'configure'.
X-SVN-Rev: 41468
2018-05-25 23:47:51 +00:00
Shane Carr
16aedd5e1a ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.
X-SVN-Rev: 41263
2018-04-23 21:16:52 +00:00
Yoshito Umaoka
c620f117ca ICU-13385 autoconf to detect if xlocale.h exists or not.
X-SVN-Rev: 40568
2017-10-05 06:39:53 +00:00
Steven R. Loomis
4b9ca817eb ICU-13387 autoconf fixes for disabled tools and tests and draft api
X-SVN-Rev: 40556
2017-10-04 22:41:40 +00:00
Steven R. Loomis
0944bb9c8f ICU-13089 detect sed, use $(SED) for icu-config
X-SVN-Rev: 39992
2017-04-06 21:21:34 +00:00
Steven R. Loomis
47752b4795 ICU-13098 re-commit r398758 configure.ac (got dropped). configure is fine.
X-SVN-Rev: 39990
2017-04-05 23:16:01 +00:00
Steven R. Loomis
153ccb4e2e ICU-12766 revert r39756 (mistake)
X-SVN-Rev: 39758
2017-03-10 02:58:13 +00:00
Steven R. Loomis
6f30aba8ef ICU-12766 esc- work in progress
X-SVN-Rev: 39756
2017-03-10 02:27:09 +00:00
Markus Scherer
9b792c3cf1 ICU-12736 remove remaining uses of now-obsolete U_HAVE_STD_STRING
X-SVN-Rev: 39733
2017-03-04 00:22:40 +00:00
Andy Heninger
7d2fe3819c ICU-12643 ICU4C, require C++11 to build.
X-SVN-Rev: 39543
2016-12-16 00:03:11 +00:00
Steven R. Loomis
c3277ff991 ICU-12774 tzname/timezone checks on cygwin, merge r39416
X-SVN-Rev: 39421
2016-10-04 04:00:46 +00:00
Steven R. Loomis
4136a2f257 ICU-12708 bye bye layout engine
X-SVN-Rev: 39176
2016-09-09 21:28:18 +00:00
Yoshito Umaoka
ec3948198e ICU-10232 Updated preprocessro macro again - including xlocale.h except for windows, configure script to set -DU_HAVE_STRTOD_L=1 when strtod_l is available, etc.
X-SVN-Rev: 39144
2016-09-07 07:43:38 +00:00
Yoshito Umaoka
f2d8d1be68 ICU-10232 DigitList to use strtod_l instead of strtod with cached host decimal point on platforms supporting strtod_l. For other platforms, detect host decimal point instead of using cached host decimal point char.
X-SVN-Rev: 39124
2016-09-02 20:58:05 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Michael Ow
8d4fe67a1e ICU-11942 Disable certain gcc flags on solaris
X-SVN-Rev: 38632
2016-04-19 21:00:50 +00:00
Steven R. Loomis
39f698cbc3 ICU-11437 revert r37938 r37939 (also ICU-11435 ) - try to unbreak Solaris
X-SVN-Rev: 37945
2015-09-11 02:01:12 +00:00
Steven R. Loomis
a6fd360ff3 ICU-11435 Bitrig fixes.
Incorporates ICU-11881 and ICU-11882 

X-SVN-Rev: 37938
2015-09-10 06:26:57 +00:00
Steven R. Loomis
77cd9e6aa4 ICU-11763 turn icuplugs off by default
add "--enable-plugins" to configure, and also "UCONFIG_ENABLE_PLUGINS".
These are disabled by default.

Also, start splitting out acinclude.m4 content to source/config/m4/..

X-SVN-Rev: 37675
2015-07-16 18:13:02 +00:00
Michael Ow
390e7a5080 ICU-11715 Fix ICU data build issue on HPUX ia64 using aCC
X-SVN-Rev: 37499
2015-06-04 20:31:02 +00:00
Andy Heninger
4d4ee85673 ICU-11659 Remove remnants of ICU_USE_THREADS
X-SVN-Rev: 37415
2015-04-30 01:10:04 +00:00
Steven R. Loomis
68e82040f9 ICU-11023 merge from branch
X-SVN-Rev: 36425
2014-09-10 02:20:50 +00:00
Steven R. Loomis
e330da58b6 ICU-8502 still do the previous version scan, but at least let autoconf know what our version # is.
X-SVN-Rev: 36375
2014-09-06 00:39:13 +00:00
Steven R. Loomis
2ceea1aada ICU-10989 fixup apidoc tags on deprecated layout engine. Also DO
build it by default still for this release. Add a note on
ParagraphLayout as well.

X-SVN-Rev: 36368
2014-09-05 22:09:11 +00:00
Steven R. Loomis
7b46ea1945 ICU-10972 improve --with-data-packaging docs
X-SVN-Rev: 36363
2014-09-05 18:33:24 +00:00
Michael Ow
d29271fcce ICU-9985 Add support for msys msvc build environment
X-SVN-Rev: 36256
2014-08-27 22:42:28 +00:00
Steven R. Loomis
34b4644cac ICU-10530 Deprecate LayoutEngine
X-SVN-Rev: 35951
2014-06-26 01:17:03 +00:00
Yoshito Umaoka
401e64ef80 ICU-10549 Merging a new collation performance regression test cases from a branch.
X-SVN-Rev: 34721
2013-12-09 17:32:25 +00:00