close
Skip to content

Default to building static libraries#2646

Merged
ChrisThrasher merged 1 commit into
SFML:masterfrom
ChrisThrasher:build_shared_libs
Aug 23, 2023
Merged

Default to building static libraries#2646
ChrisThrasher merged 1 commit into
SFML:masterfrom
ChrisThrasher:build_shared_libs

Conversation

@ChrisThrasher

@ChrisThrasher ChrisThrasher commented Aug 14, 2023

Copy link
Copy Markdown
Member

Description

Closes #2389

I've looked around at a few CI jobs and they seem to be behaving the same as before. If any jobs are broken it would be the jobs that aren't part of the core build matrix.

@codecov

codecov Bot commented Aug 14, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2646 (f4ad49e) into master (10bd1ff) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #2646    +/-   ##
========================================
  Coverage   30.65%   30.65%            
========================================
  Files         229      229            
  Lines       19748    19748            
  Branches     4723     4723            
========================================
  Hits         6053     6053            
+ Misses      13055    12944   -111     
- Partials      640      751   +111     

see 50 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10bd1ff...f4ad49e. Read the comment docs.

Comment thread CMakeLists.txt
# disable static libraries on Android
if(SFML_OS_ANDROID)
set(BUILD_SHARED_LIBS TRUE)
endif()

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

60894d1

I dug back in the commit history to find where this was added. I'm not totally sure why we have this here. Anything related to cross compilation belongs in a toolchain file. For what it's worth the Android CI jobs still succeed even if we remove this and build them as static libraries. Hopefully someone can point me to some Android docs explaining this requirement so I can add that link to the comment.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@intjelic Do you know if we still need this?

Comment thread CMakeLists.txt
@ChrisThrasher ChrisThrasher merged commit 962e6ed into SFML:master Aug 23, 2023
@ChrisThrasher ChrisThrasher deleted the build_shared_libs branch August 23, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Stop changing the default value of BUILD_SHARED_LIBS

3 participants