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

Build fixes #1328

Merged
merged 4 commits into from
Dec 2, 2017
Merged

Build fixes #1328

merged 4 commits into from
Dec 2, 2017

Conversation

randombit
Copy link
Owner

@randombit randombit commented Dec 2, 2017

Fixes install target when static lib disabled (#1327)

Accept CXXFLAGS and LDFLAGS from environment, and adds docs to the all target (#1237)

Plus some cleanups in generating the template variables.

@codecov-io
Copy link

codecov-io commented Dec 2, 2017

Codecov Report

Merging #1328 into master will decrease coverage by 0.38%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1328      +/-   ##
=========================================
- Coverage   92.28%   91.9%   -0.39%     
=========================================
  Files         466     466              
  Lines       43109   43109              
  Branches     5235    5235              
=========================================
- Hits        39785   39618     -167     
- Misses       3292    3459     +167     
  Partials       32      32
Impacted Files Coverage Δ
.../block/threefish/threefish_avx2/threefish_avx2.cpp 0% <0%> (-100%) ⬇️
src/lib/rng/rdrand_rng/rdrand_rng.cpp 10% <0%> (-83.34%) ⬇️
src/lib/entropy/rdrand/rdrand.cpp 42.85% <0%> (-57.15%) ⬇️
src/lib/utils/cpuid/cpuid_x86.cpp 76.92% <0%> (-5.77%) ⬇️
src/tests/test_rng.cpp 89.06% <0%> (-3.44%) ⬇️
src/lib/pk_pad/emsa_raw/emsa_raw.cpp 71.87% <0%> (-3.13%) ⬇️
src/lib/block/threefish/threefish.cpp 90.81% <0%> (-1.03%) ⬇️
src/lib/tls/tls_handshake_state.cpp 83.18% <0%> (-0.46%) ⬇️
src/lib/tls/tls_extensions.cpp 92.08% <0%> (-0.32%) ⬇️
src/lib/tls/tls_server.cpp 84.06% <0%> (-0.32%) ⬇️
... and 3 more

Continue to review full report at Codecov.

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

It's been dropped from GCC, appears OpenACC is the new hotness
for this kind of thing.
Add a test in CI to cover this
Also remove a duplicated block (rebase error)
Copy link
Contributor

@alonbl alonbl left a comment

Choose a reason for hiding this comment

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

Thanks!
Working as expected.

clean:
$(PYTHON_EXE) $(SCRIPTS_DIR)/cleanup.py --build-dir="%{build_dir}"

distclean:
$(PYTHON_EXE) $(SCRIPTS_DIR)/cleanup.py --build-dir="%{build_dir}" --distclean

install: $(CLI) docs
install: libs cli docs
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to:

 install: all

as you always end up require all

@@ -40,18 +41,18 @@ libs: $(LIBRARIES)

# Misc targets

docs:
%{build_doc_commands}
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to have docs.stamp or any other file created, so that at make install the sphinx will not run again

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good idea thanks

@randombit randombit merged commit 1891809 into master Dec 2, 2017
randombit added a commit that referenced this pull request Dec 2, 2017
@randombit randombit deleted the build-fixes branch December 2, 2017 23:14
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.

None yet

3 participants