Commit Graph

401 Commits

Author SHA1 Message Date
Alexander Afanasyev 728205fe3c Change with shared library compatibility version handling
For ELF binaries (e.g., Linux): default compatible version (SONAME =
`<library-name>.so.<MAJOR>`) can be specialized using additional `cnum`
parameter to `<library-name>.so.<MAJOR>.<MINOR>` or
`<library-name>.so.<MAJOR>.<MINOR>.<PATCH>`.

For Mach-O binaries (e.g., OS X):

- (bugfix) install-name points to compatible version (not absolute path
  to a non-versioned library)
- Default install-name `<install-path>/<library-name>.<MAJOR>.dylib` can
  be specialized using `cnum` parameter to
  `<install-path>/<library-name>.<MAJOR>.<MINOR>.dylib` or
  `<install-path>/<library-name>.<MAJOR>.<MINOR>.<PATCH>.dylib`
- `-Wl,-compatibility_version` and `-Wl,-current_version` flags use
  version from cnum/vnum (default cnum is vnum.split('.')[0])
2015-06-05 17:27:32 -07:00
Thomas Nagy 92f584fd8f
Repeated failures remove signatures - Issue 1580 2015-05-31 16:51:44 +02:00
Guillaume Poirier-Morency f14678f3e6 Fix the '--threading' option for valac.
The actual compiler option is named '--thread', not '--threading'.

Renames the waf option for 'thread': it shouldn't be breaking anyone as
it was not even working.
2015-05-26 03:25:33 -04:00
Thomas Nagy ea59b302c5
Fixed conf.multicheck error handling 2015-05-23 15:09:37 +02:00
Thomas Nagy f048d6d20f
Do not duplicate flags from the OS environment - https://github.com/waf-project/waf/issues/1574 2015-05-16 14:26:43 +02:00
Dale Stewart 1bc6c745c9 qt5: cope with library names like 'Qt5Core' instead of 'QtCore5', as in Qt 5.4 on Windows 2015-05-14 16:15:57 -05:00
Thomas Nagy 802e937d73
Regression caused by 588f809ffa - https://github.com/waf-project/waf/pull/1572 2015-05-08 18:16:48 +02:00
Thomas Nagy b45f52165b
docs 2015-05-03 10:22:28 +02:00
Thomas Nagy 120af4f1d0
docs 2015-05-03 01:03:11 +02:00
Thomas Nagy 06e49b2a82
undefined variables 2015-04-26 21:13:52 +02:00
Thomas Nagy 44211e0bb5
Enabled errors on warnings for the apidoc generation 2015-04-26 21:00:15 +02:00
Thomas Nagy ffd6c60113
docs 2015-04-26 16:52:45 +02:00
Thomas Nagy 924f8bbce8
Inserting LDFLAGS at the end of the command-line causes less overhead than expected, and LINKFLAGS can still be used for flags in the beginning of the line 2015-04-22 21:34:45 +02:00
Daniel Svensson 588f809ffa Use same prefix convention for python as with ruby and perl.
Should /usr/local/.../site-packages not be in sys.path in some
platform, a user would pass --pythondir, and --pythonarchdir to
waf when compiling, or modify sys.path.

This makes waf work more predictable, as when passing --prefix
parameter to the build, everything will be installed under this
directory.
2015-04-11 16:26:30 +02:00
Daniel Svensson c53a6f9e07 Find xsubpp in order, privlib, vendorlib and path. 2015-04-11 13:17:21 +02:00
Thomas Nagy ba7295d555
xsubpp misconfiguration on redhat systems 2015-04-11 10:51:19 +02:00
Thomas Nagy 0c0e0388a0
More accurate rpath parsing in parse_flags 2015-04-08 23:32:53 +02:00
Thomas Nagy b8c965153c
Issue 1551 - use -Bstatic and -Bdynamic in parse_flags 2015-03-26 21:50:23 +01:00
Daniel Welty 94a48cc4ae
msvc: Support additional cross-compile types
VS 2013 supports cross-compiling for x86 and arm from amd64, but Waf
wouldn't search for these compilers.

Change-Id: I5b0d6809b666587d5aea19e6491fa7f0572c1a40
Type: Bug Fix

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-03-17 02:11:41 +01:00
Thomas Nagy d1f7f7c78d
Miscellaneous platform support 2015-03-14 03:02:01 +01:00
Thomas Nagy eefb67755e
Issue 1529 - conf.check(function_name) 2015-03-13 17:47:53 +01:00
Thomas Nagy 4a362be394
More accurate regexp on re_vnum 2015-03-12 19:22:08 +01:00
Harald Klimach 52f63ac945 Fixed logic to identify intel fortran compiler. 2015-03-10 16:59:53 +01:00
Thomas Nagy 02f4e0f1c0
Fortran errors lead to broken signatures - Issue 1546 2015-03-07 02:13:22 +01:00
Thomas Nagy ff2ab4076f
Fix for gcc detection under msys - it behaves like cygwin 2015-03-05 16:18:51 +01:00
Thomas Nagy 80344dee5e
Use splitlines when possible 2015-03-03 12:19:25 +01:00
Thomas Nagy 9a72b14976
Enable environment-provided flags for cross-compilation in python.py 2015-03-01 11:59:16 +01:00
Thomas Nagy 47a100480f
Issue 1538 - make detection of pyembed optional 2015-02-27 12:03:53 +01:00
Thomas Nagy bbf26e0e12
Fix the g++ compiler detection which is broken by the new clang tool 2015-02-20 14:23:04 +01:00
Thomas Nagy 269c90fe1a
Cache the files read in c_dumbpreproc.py 2015-02-20 12:06:08 +01:00
Thomas Nagy 823b4cd2dc
Issue 1536 - default 64 suffix for Redhat systems 2015-02-19 13:46:18 +01:00
Thomas Nagy 8f4df2085c
Support for single-number versioned libraries 2015-02-15 11:53:47 +01:00
Thomas Nagy e3d8daf8bc
Issue 1527 - a not on as-needed 2015-02-14 22:38:25 +01:00
David Robillard a3a209b352
Fix compiler detection on OSX 10.6.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-02-14 22:29:19 +01:00
Thomas Nagy 6d674de8c9
qt5 detection improvements 2015-01-06 11:18:28 +01:00
XZS 6d5bde451d
install compiled python files besides sources
Compiled python files are now placed in a __pycache__ directory besides
the source file, which is in fact the only location PEP 3142 specifies.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-01-02 19:30:08 +01:00
Thomas Nagy 149653a937
First commit of the year 2015 2015-01-01 16:24:54 +01:00
Thomas Nagy 0b926c7682
Issue 1524 - ruby configuration in 2.2 2014-12-29 20:01:02 +01:00
Thomas Nagy 6c11f91e12
Issue 1522 2014-12-27 20:31:11 +01:00
Thomas Nagy 90e7031d2d
blender.py belongs to extras/ 2014-12-20 18:46:55 +01:00
poxip 644ab20549
blender: Do not use default platform
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-12-20 18:45:24 +01:00
poxip 229d5b93d6
Create blender tool
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-12-20 18:45:15 +01:00
Thomas Nagy 1689bc658a
Issue 1510 - suncc and CC 2014-11-20 20:43:56 +01:00
Thomas Nagy c18f457215
Issue 1509 cmd -> cmd.exe 2014-11-13 19:27:58 +01:00
Thomas Nagy 9a46ff7558
No one has ever used conf.as_needed() 2014-11-10 22:08:36 +01:00
Thomas Nagy 67a5bb5c73
Regression due to Issue 1502 2014-11-01 23:38:02 +01:00
Thomas Nagy 7ffd53b803
Use EnvironmentError more often 2014-10-30 19:09:53 +01:00
Thomas Nagy 0cb547e65d
Issue 1498 - no python-config on windows, use the system from waf 1.7 2014-10-27 04:02:39 +01:00
Thomas Nagy e297881d30
Missing method in qt5.py 2014-10-25 13:50:23 +02:00
Thomas Nagy d24092184a
Issue 1502 - too much caching in qt logic 2014-10-25 13:39:22 +02:00