Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI configuration improvement #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Travis CI configuration improvement #3

wants to merge 6 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 6, 2019

The improvement is branched from FreeBSD_port so it must be rebased after FreeBSD_port merged into master.

The improvement fixes the following errors from CMake:

Could not find a package configuration file provided by "Qt5Svg" with any

and

Could not find a package configuration file provided by "Qt5X11Extras"

mastersin and others added 5 commits January 5, 2019 12:38
for using changed cmake build directory
There is no `sigval_t` in FreeBSD so I introduced a simple (standard)
workaround so the code will be able to be built on FreeBSD.
The problem is that when you set:
```
set(KUMIR2_CXXFLAGS "-fno-exceptions -std=c++0x -fPIC")
```
and later try to add flags with:
```
list(APPEND KUMIR2_CXXFLAGS "-stdlib=libstdc++")
```
it will be expnded into
```
-fno-exceptions -std=c++0x -fPIC;-stdlib=libstdc++
```
and this line will effectively prevent the command from compiling
files because the semicolon will designate the end of the command and
the rest of the arguments (file name to compile, for example) will
be treated like a new command.

Tested with CMake 3.12.2 on FreeBSD 11.2
Clang is unable to find type_traits in FreeBSD 11.2 so this is
an explicit inclusion of `/usr/include/c++/v1` in order to enable
Kumir2 builds on FreeBSD.
@ghost ghost force-pushed the ci branch 2 times, most recently from cddcaf1 to 841e820 Compare January 6, 2019 11:42
@ghost ghost self-assigned this Jan 6, 2019
@ghost ghost added the enhancement New feature or request label Jan 6, 2019
@ghost ghost added this to the Multiplatform CI setup milestone Jan 6, 2019
@ghost ghost requested review from mastersin, shubin and vanaf January 6, 2019 11:59
@ghost ghost mentioned this pull request Jan 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant