Skip to content

Conversation

@bellenot
Copy link
Member

@bellenot bellenot commented Oct 2, 2017

  • Add missing includes (gdk/glib) for TGWin32 dictionary generation
  • Replace use of bindexplib by CMake's built-in WINDOWS_EXPORT_ALL_SYMBOLS property
  • Replace old nmake based build by the CMake based one for builtin_freetype and builtin_pcre
  • Add support for Visual Studio for LZ4
  • Fix compilation of builtin_afterimage
  • Add a few missing compilation flags
  • Filter out the multiproc sub-directory (not supported on Windows)

 - Add missing includes (gdk/glib) for TGWin32 dictionary generation
 - Replace use of bindexplib by CMake's built-in WINDOWS_EXPORT_ALL_SYMBOLS property
 - Replace old nmake based build by the CMake based one for builtin_freetype and builtin_pcre
 - Add support for Visual Studio for LZ4
 - Fix compilation of builtin_afterimage
 - Add a few missing compilation flags
 - Filter out the multiproc sub-directory
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on centos7/gcc49.
See console output.

@phsft-bot
Copy link

Build failed on slc6/gcc49.
See console output.

@phsft-bot
Copy link

Build failed on slc6/gcc62.
See console output.

CMakeLists.txt Outdated
set(__allIncludes ${__allIncludes} -I${d})
endif()
endforeach()
if(MSVC)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe if (WIN32) makes more sense here in case one uses a different compiler on Windows?

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree for this one (sometimes it's really compiler dependent)

file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/include" NATIVE_INCLUDEDIR)
ExternalProject_Add(
LZ4
URL http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/lz4-${lz4_version}.tar.gz
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it's worth to avoid duplication of URL and MD5 hash. How about

set(LZ4_URL ${lcgpackages}/lz4-${lz4_version}.tar.gz)
set(LZ4_MD5 c9610c5ce97eb431dddddf0073d919b9)

and then use the variables in both branches? That way we only have one place to update if something changes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, thanks! Will do it

@amadio
Copy link
Member

amadio commented Oct 2, 2017

@phsft-bot build

Relaunching now that externals are fixed.

@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on slc6/gcc49.
See console output.

@phsft-bot
Copy link

Build failed on slc6/gcc62.
See console output.

…d5 for LZ4 (thanks Guilherme for the feedback)
@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on slc6/gcc62.
See console output.

Errors:

  • ERROR: Timeout after 10 minutes
  • ERROR: Error fetching remote repo 'origin'
  • stderr: error: RPC failed; result=18, HTTP code = 200
  • error: fetch-pack died of signal 15
  • ERROR: Error fetching remote repo 'origin'

@phsft-bot
Copy link

Build failed on slc6/gcc49.
See console output.

Errors:

  • ERROR: Timeout after 10 minutes
  • ERROR: Error fetching remote repo 'origin'
  • stderr: error: RPC failed; result=18, HTTP code = 200
  • ERROR: Error fetching remote repo 'origin'

@bellenot
Copy link
Member Author

bellenot commented Oct 2, 2017

@phsft-bot build

@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on slc6/gcc49.
See console output.

Failing tests:

@phsft-bot
Copy link

@bellenot
Copy link
Member Author

bellenot commented Oct 3, 2017

@phsft-bot build

@phsft-bot
Copy link

Starting build on centos7/gcc49, mac1012/native, slc6/gcc49, slc6/gcc62, ubuntu14/native with flags -Dvc=OFF -Dimt=ON -Dccache=ON
How to customize builds

@phsft-bot
Copy link

Build failed on ubuntu14/native.
See console output.

Warnings:

  • include/ROOT/TDFInterface.hxx:859:50: warning: declaration of ‘nSlots’ shadows a global declaration [-Wshadow]
  • /mnt/vdb/lsf/workspace/root-pullrequests-build/root/tree/treeplayer/test/dataframe/dataframe_callbacks.cxx:12:31: warning: shadowed declaration is here [-Wshadow]
  • include/ROOT/TDFInterface.hxx:829:50: warning: declaration of ‘nSlots’ shadows a global declaration [-Wshadow]
  • /mnt/vdb/lsf/workspace/root-pullrequests-build/root/tree/treeplayer/test/dataframe/dataframe_callbacks.cxx:12:31: warning: shadowed declaration is here [-Wshadow]
  • include/ROOT/TDFInterface.hxx:1471:50: warning: declaration of ‘nSlots’ shadows a global declaration [-Wshadow]
  • /mnt/vdb/lsf/workspace/root-pullrequests-build/root/tree/treeplayer/test/dataframe/dataframe_callbacks.cxx:12:31: warning: shadowed declaration is here [-Wshadow]
  • include/ROOT/TDFInterface.hxx:1489:58: warning: declaration of ‘nSlots’ shadows a global declaration [-Wshadow]
  • /mnt/vdb/lsf/workspace/root-pullrequests-build/root/tree/treeplayer/test/dataframe/dataframe_callbacks.cxx:12:31: warning: shadowed declaration is here [-Wshadow]
  • include/ROOT/TDFInterface.hxx:1471:50: warning: declaration of ‘nSlots’ shadows a global declaration [-Wshadow]
  • /mnt/vdb/lsf/workspace/root-pullrequests-build/root/tree/treeplayer/test/dataframe/dataframe_callbacks.cxx:12:31: warning: shadowed declaration is here [-Wshadow]

And 24 more

Failing tests:

@phsft-bot
Copy link

Build failed on mac1012/native.
See console output.

Failing tests:

@amadio
Copy link
Member

amadio commented Oct 3, 2017

@bellenot Is this ready to be merged? The tests failures are fixed on master now, and are not related to this PR.

@amadio amadio self-assigned this Oct 3, 2017
@bellenot
Copy link
Member Author

bellenot commented Oct 3, 2017

@amadio yes, from my side, it can be merged...

@amadio amadio merged commit 8a6dd99 into root-project:master Oct 3, 2017
@bellenot bellenot deleted the add-visual-studio-support branch February 8, 2018 08:08
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.

3 participants