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

Integration Candidate: Fast Track #672

Merged
merged 5 commits into from
May 5, 2020
Merged

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented May 5, 2020

Describe the contribution
Fixes #652

Testing performed
See #667
Bundle CI - https://github.com/nasa/cFS/pull/78/checks?check_run_id=644721591

Expected behavior changes
Users must now select OSAL options via the CMake file in their defs directory, rather than the osconfig.h file.

System(s) tested on
See PR
Bundle CI - Ubuntu:Bionic

Additional context
Part of nasa/cFS#78

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

jphickey and others added 5 commits May 4, 2020 09:20
Rather than CFE generating an osconfig.h file directly, it just
needs to select file(s) from the defs directory and pass them
to OSAL for the config.
This replaces native_osconfig.h and enables running UT as a
normal user when SIMULATION=native.  Travis-CI requires this.
The osconfig.h file is now generated rather than as a normal
header file in the source tree.  A path must be included to
resolve refs in doxygen.
Generate an osconfig.h specially for doxygen, independently
of the file actually used for the build.
@skliper
Copy link
Contributor

skliper commented May 5, 2020

See https://github.com/skliper/cFE/tree/ic-doxygen-update for direct doxygen of the osconfig.h.in. Don't need the example file creation.

@skliper
Copy link
Contributor

skliper commented May 5, 2020

Note make prep also is now failing in integration-candidate again.

@skliper
Copy link
Contributor

skliper commented May 5, 2020

Standby... travis is not reporting errors correctly...

@skliper
Copy link
Contributor

skliper commented May 5, 2020

@astrogeco went down the rabbit hole of using the osconfig.h.in, which can be made to work but it ended up with more custom file extensions/extension mapping, etc that felt like more complex than just using the method @jphickey implemented. I vote just move forward with this.

@astrogeco astrogeco merged commit 8065ee4 into master May 5, 2020
@skliper skliper added this to the 6.8.0 milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CFE needs to provide CMake-based config file for OSAL
3 participants