Commit Graph

270 Commits

Author SHA1 Message Date
Christophe de Dinechin f2b321a4be config: Add tests for _Float80 and _Float128
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2021-02-07 07:01:55 +01:00
Christophe de Dinechin a4c6a19e45 Add configuration check for _Float16
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2021-02-07 01:15:39 +01:00
Christophe de Dinechin 7286c04a62
Merge pull request #3 from FreedomBen/FreedomBen-typo-fix
Fix simple typo avaiable -> available
2021-01-05 20:05:45 +01:00
Ben Porter d9f7fc1419
Fix simple typo avaiable -> available 2021-01-05 09:24:44 -07:00
Christophe de Dinechin df4c924ff6 More renaming using the .ext convention
Changed more variables with the convention to use .ext rather than _EXT.
For example, replace PREFIX_DLL with PREFIX.dll.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-12-18 20:51:12 +01:00
Christophe de Dinechin 13ef51b35c Repair installation of DLLs
The INSTALL_DLL variable was replaced with INSTALL.dll

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-12-18 20:02:58 +01:00
Christophe de Dinechin c1b26009db Rename MIQ_COMPILE to COMPILE-lt (for libtool)
This is part of the ongoing effort to clarify the variable names.
These variables could be modifed by the environment.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-09-03 21:53:53 +02:00
Christophe de Dinechin dce5f235b7 Replace [BUILD] with [LINK] in the output
This is more standard

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-09-02 00:53:45 +02:00
Christophe de Dinechin 42a0bb0ac2 Make the COMPILE and LINK build steps more generic
By using names like COMPILE.c and LINK.lib, this will make it easier to
generate build rules more easily based on extensions

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-09-02 00:44:09 +02:00
Christophe de Dinechin 445cae64ae Rename OBJFILES to BUILD
This is more consistent with having simple names for variables. Also, this
contains all the build intermediate products, not just object files.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-09-01 22:11:55 +02:00
Christophe de Dinechin ff92a7386f Replace OBJ_EXT with EXT.obj and similar for other extensions
This will allow to make the code dealing with extensions more generic in the
future.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-09-01 22:04:53 +02:00
Christophe de Dinechin 4344969408 Add a test printout for the count-characters test
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-08-28 18:06:56 +02:00
Christophe de Dinechin 5e177193d0 Fix name of test executable in example makefile
This fixes the output of the test from

    Output has 0 characters, should be 35

to

    Output has 35 characters, should be 35

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2020-08-28 17:35:42 +02:00
Christophe de Dinechin 57de2052a5 Fix typo in pkgconfig.pcrule generation fo includedir
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
2020-07-06 10:31:44 +02:00
Christophe de Dinechin ab18d4ba1f Place -I options from configuration behind project's
Discovered that while compiling on a machine where some package had
installed a header file in `/usr/local/include` with the same name as
a header in the project.

With the old rules, the command line looked like:

    -I/usr/local/include ... -I/project/include

where the first option came from some pkg-config output.

This caused compilation-errors, since the `/usr/local/include` header
was preferred over the project's.
2020-03-04 21:22:56 +01:00
Christophe de Dinechin 536df86ed1 Fix typo in dependency rule for .cc files (.ccc -> .cc) 2019-05-03 19:13:55 +02:00
Christophe de Dinechin 361564380c Add blank lines to separate entries in the change log
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
Suggested-by: Rick Jones <rjones@redhat.com>
2019-04-26 11:34:22 +02:00
Christophe de Dinechin 45767c46ab Release v0.2.5
- Copyright header adjustments
- Improve determination of linker when some C++ files are generated
- Add configuration check for setlinebuf
- Avoid rebuilding target product everytime
- Add feature to disable testing in specific subdirectories
- Fix rpath option to address macOS / Linux usage difference
2019-04-23 17:40:16 +02:00
Christophe de Dinechin ed303a3b61 Update .spec file for v0.2.5 2019-04-23 17:14:39 +02:00
Christophe de Dinechin 7a3a86be7c Fix the -rpath opption on Linux
On Linux, -rpath must also be given on the executable
(On macOS where I first tested, it's sufficient to use it on the libraries)
2019-04-12 22:37:35 +02:00
Christophe de Dinechin 242dcddf9e Revert "Do not generate useless -rpath options"
This reverts commit 3d25a8dcdf.
2019-04-12 21:56:10 +02:00
Christophe de Dinechin 34b4ba8909 Add RECURSE_FLAGS_xyz when building a subdirectory
This makes it possible to pass directory-dependent flags,
for example disabling tests in 'somedir' using:

    RECURSE_FLAGS_somedir=      RUN_TESTS=
2019-04-01 23:11:00 +02:00
Christophe de Dinechin 1f845c7ee5 Do not rebuild target product every time
The final product was rebuilt every time because of the rule
to create the output directory. Made it an order-only dependency.
2019-04-01 22:58:47 +02:00
Christophe de Dinechin 9089276d59 Add configuration check for setlinebuf
This function is not present on MinGW (of course), and
the equivalent behaves in a non-sensical way (full buffering).

See discussion here: https://stackoverflow.com/questions/15972550/what-is-the-use-of-setvbuf-in-an-applicationexecutable
2019-03-28 11:37:19 +01:00
Christophe de Dinechin e5e8eb4866 A better way to determine if LD is gcc or g++
Instead of using SOURCES, use MIQ_SOURCES to include variants
Instead of using if, use computed value to take dynamic updates
2019-03-24 23:08:28 +01:00
Christophe de Dinechin 5146122af7 Automatic copyright header adjustment 2019-03-22 16:43:14 +01:00
Christophe de Dinechin e33224e9ef Integration of Fedora packaging
- Put %package first (style, comment #11 of BZ#1689277)
- Integrate fixes for minor issues found building SPICE
2019-03-19 22:39:07 +01:00
Christophe de Dinechin 9e8ff0819f Use absolute path of $(MIQ) to find x11.pc
Recent changes in make-it-quick removed the need to pass the MIQ
variable from the command line. It used to be passed using $(abspath...)
so the $(abspath ...) needs to be added into the macOS-specific config.
2019-03-19 15:58:14 +01:00
Christophe de Dinechin 6c4528ab6f Whitespace normalization 2019-03-19 15:58:14 +01:00
Christophe de Dinechin 0ca010cfdf Release 0.2.3: Address packaging comments
- Address packaging comments made during Fedora packaging review.
- Rebase on a master branch that has fixes for mingw install and macOS test
2019-03-18 11:28:43 +01:00
Christophe de Dinechin c8aa5562e5 Follow GNU guidelines regarding GPLv3
- Rename LICENSE to COPYING
- Add recommended header in each file
2019-03-18 11:10:18 +01:00
Christophe de Dinechin 0d32ad71f8 Integrate Fedora packaging review comments
See https://bugzilla.redhat.com/show_bug.cgi?id=1689277#c7
2019-03-18 11:10:18 +01:00
Christophe de Dinechin 470dbb60f6 Minor whitespace adjustment 2019-03-18 11:10:18 +01:00
Christophe de Dinechin 07d11a2a41 Release 0.2.2: Address packaging issues reported by rpmlint
- Presence of .c files in a non-devel package
    - Non-binary in /usr/lib, moved config files to /usr/share
    - Incoherent version number in change log
    - Handling of documentation (added support to make-it-quick)

 # Please enter the commit message for your changes. Lines starting
2019-03-18 11:10:18 +01:00
Christophe de Dinechin 8031dd771f Add support for DOC_INSTALL
Follow the pattern of %doc on Fedora
2019-03-18 11:10:18 +01:00
Christophe de Dinechin 8a683f1135 A better way to configure the target installation
This addresses two issues:

- There was a mixup between the installed config.system-setup.mk
  and the one being used for installation, which could lead to
  build fragility / difficulty to reproduce.

- Making `make install` and `rpmbuild` consistent in what is
  being installed and produced.
2019-03-18 11:10:18 +01:00
Christophe de Dinechin 08959dbd71 Restore SHR_INSTALL in list of items to install 2019-03-18 11:10:18 +01:00
Christophe de Dinechin 46d167ca66 Add PREFIX_SBIN, PREFIX_LIBEXEC and PREFIX_VAR
There are no corresponding installation rules yet
2019-03-18 11:10:18 +01:00
Christophe de Dinechin 246604d8c3 Make sure that what we install is built before we try installing it
For example, a header may be generated, and needs to be built
before we can install it.
2019-03-18 11:10:18 +01:00
Christophe de Dinechin f3b756b626 Fix rpmlint-reported inconsistency in version numbering 2019-03-18 11:10:18 +01:00
Christophe de Dinechin 78d7004678 Fix installation on mingw variants
The introduction of INSTALL_DATA broke `make install` by adding
an extraneous -m option:

[BEGIN]              opt mingw in [top]   
[INSTALL]            check_clearenv.c in /d/jenkins/mingw32/workspace/Make-It-Quick/J_TARGET/install/OS/mingw32/install-path/lib/make-it-quick/config    
cp: unknown option -- m
2019-03-17 22:16:45 +01:00
Christophe de Dinechin 4ea91ae183 Repair broken testing under macOS
This happens to work if you are testing in the work directory,
but it was broken under Jenkins
2019-03-16 19:44:54 +01:00
Christophe de Dinechin e3d10e4cdd v0.2.1 Support for installing man pages
- Ability to install man pages in either nroff/groff or pod format
- Fix for MIQ path in make-it-quick examples
2019-03-12 14:03:36 +01:00
Christophe de Dinechin b55b6b8694 If make-it-quick is installed, don't update MIQ path as we go 2019-03-12 14:02:27 +01:00
Christophe de Dinechin 14a2be96b0 Add support for man page generation and installation
Man pages are installed gzipped by default, and can be generated
from .pod files using pod2man.
2019-03-12 14:02:27 +01:00
Christophe de Dinechin 8914a36a4a v0.2 Improved packaging support, Haiku and FreeBSD platforms
- Installable package for Fedora and OpenSUSE
    - Add preliminary support for Haiku and FreeBSD
    - Several bug fixes
2019-03-12 14:02:27 +01:00
Christophe de Dinechin d4567d429d Add a default PRODUCTS_VERSION 2019-03-11 08:43:01 +01:00
Christophe de Dinechin 3d25a8dcdf Do not generate useless -rpath options 2019-03-11 08:43:01 +01:00
Christophe de Dinechin 42c96f890b Split system-wide setup and local setup
The local setup is used during the build, e.g. includes BUILDROOT.
The system setup is used after installation
2019-03-11 08:43:01 +01:00
Christophe de Dinechin 5d3414182b Create .spec file for Fedora packaging 2019-03-11 08:43:01 +01:00