Martin Pluskal
5032e1818c
Accepting request 561593 from home:scarabeus_iv:branches:devel:tools:building
...
- Do not add no-undefined on module linking, should reduce us a bit
of redefining as most modules dynamically load stuff
OBS-URL: https://build.opensuse.org/request/show/561593
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=309
2018-01-04 12:34:02 +00:00
Martin Pluskal
43f23f4c82
Accepting request 430013 from home:boombatower:branches:devel:tools:building
...
Utilize $OLDPWD to make __sourcedir always relative to root regardless of the __builddir.
OBS-URL: https://build.opensuse.org/request/show/430013
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=269
2016-09-26 11:02:24 +00:00
Martin Pluskal
d5bc660fb8
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=266
2016-09-13 12:09:16 +00:00
Martin Pluskal
b78775909d
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=265
2016-09-13 12:00:34 +00:00
Martin Pluskal
36f65f7882
Accepting request 426207 from home:boombatower:graphics
...
Update %cmake macro to provide %__sourcedir parameter.
OBS-URL: https://build.opensuse.org/request/show/426207
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=264
2016-09-10 06:48:32 +00:00
Martin Pluskal
6d9b1150cb
Accepting request 423027 from home:scarabeus_iv:branches:devel:tools:building
...
- Remove wrong FIXME from spec
- Require qt5 gui everywhere as it on all supported platforms
- Respect CFLAGS while bootstraping
- Remove wrong FIXME from the spec
- Add relwithdebinfo as default target to ease living of sci packages
- Add possibility to switch between ninja and cmake by defining
%__builder ninja prior %cmake call bnc#995752
OBS-URL: https://build.opensuse.org/request/show/423027
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=262
2016-08-26 10:34:52 +00:00
Martin Pluskal
cc2d407a76
- Remove PIE from macro
...
- Remove PIE from macros
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=255
2016-07-11 17:29:16 +00:00
Martin Pluskal
ad02e4d23b
Accepting request 404888 from home:pluskalm:branches:devel:tools:building
...
Lets try PIE (as already discussed with scarabeus)
OBS-URL: https://build.opensuse.org/request/show/404888
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=252
2016-06-27 11:29:40 +00:00
Martin Pluskal
9a2e27e36f
Accepting request 367854 from home:scarabeus_iv:branches:devel:tools:building
...
- Update macros to allow redefinition of builddir not to be build
(found 1 upstream that already has build with actually some
distributed files)
OBS-URL: https://build.opensuse.org/request/show/367854
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=241
2016-03-08 07:29:07 +00:00
Tomáš Chvátal
9517bf9dfc
- With all the cnages we dont need cmake.rules anymore, so try to
...
remove them completely and lets see what fails
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=234
2015-12-03 09:46:18 +00:00
Martin Pluskal
d33753251f
- Revert removal of CMAKE_INSTALL_LIBDIR declaration from the
...
macros.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=231
2015-11-13 09:24:59 +00:00
Tomáš Chvátal
c91d96b115
- Remove CMAKE_INSTALL_LIBDIR declaration from the macros. rh#795542
...
* It is unfortunate but SOME packages will now have to define it
themselves because in some cases it is relative path while in
others it is absolute one.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=228
2015-09-21 08:41:45 +00:00
Tomáš Chvátal
303c3d7aff
- Also pass -Wl,-z,now lets see if that is passable :)
...
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=170
2014-08-20 10:46:19 +00:00
Tomáš Chvátal
b391c89a1a
Accepting request 245174 from KDE:Unstable:Frameworks
...
- Import some cmake handing from kf5- and kde4- filesystem to macros:
* Simplify debug build handling in macros. Whether debug is on or off is known to optflags
* Don't build in release mode, that cramps optimization flags; instead pass wanted flags directly
* Pass -Wl,--as-needed -Wl,--no-undefined to linker, to avoid unneeded libs, and to disallow undefined symbols
* Add a %make_jobs macro with verbose argument
* Simplify %cmake_install invocation
OBS-URL: https://build.opensuse.org/request/show/245174
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=169
2014-08-20 10:42:37 +00:00
Tomáš Chvátal
b5260f393c
- Mark macros as %config
...
- use curl-devel to build with as the internal libcurl is broken
with https bnc#892256
- Run tests to avoid such bugs in future
- Provide %ctest macro for testing to avoid people having to
remember all the arguments
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=168
2014-08-18 08:21:42 +00:00
Tomáš Chvátal
19a8bafd89
Accepting request 239256 from home:sleep_walker:branches:devel:tools:building
...
- reduce number of sed calls in %cmake RPM macro
OBS-URL: https://build.opensuse.org/request/show/239256
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=161
2014-07-02 08:57:25 +00:00
Ismail Dönmez
0d6b7b1b22
Accepting request 205978 from home:bmanojlovic:branches:devel:tools:building
...
After discussion with scarabeus, we have agreed to use %_datadir macro even if user change it (and possibly fail this macro)
OBS-URL: https://build.opensuse.org/request/show/205978
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=129
2013-11-06 18:29:08 +00:00
Ismail Dönmez
9fa8fb7526
Accepting request 205960 from home:bmanojlovic:branches:devel:tools:building
...
- updated cmake.macros to include installation path for packages cmake modules
OBS-URL: https://build.opensuse.org/request/show/205960
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=128
2013-11-06 12:55:12 +00:00
Ismail Dönmez
1b90ba4d09
Accepting request 195426 from home:scarabeus_iv
...
This change is followup for the discussion at ml:
http://lists.opensuse.org/opensuse-factory/2013-08/msg00174.html
I would propose proceed by the schedule I mentioned there.
Most of this stuff is taken from what I did in Gentoo cmake system.
- One more backslash here.
- Backshlashes were missing in macros.
- Add opensuse_rules.cmake to set the default compiler and linker
opts. Tweak a bit the macro to not let upstreams twerk with the
cmake files too much.
- Provide macros.cmake which contains %cmake macro to reduce
mess in the spec files.
OBS-URL: https://build.opensuse.org/request/show/195426
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=122
2013-08-16 09:35:44 +00:00