Skip to content

Commit

Permalink
Fix redefinition of _wrap___eq__ (eProsima#73) (eProsima#77)
Browse files Browse the repository at this point in the history
* Fix redefinition of _wrap___eq__ (eProsima#73)

Signed-off-by: EduPonz <[email protected]>
(cherry picked from commit 94fa8a9)
Signed-off-by: EduPonz <[email protected]>

* Refactor workflow

Signed-off-by: EduPonz <[email protected]>

* Add /bigobj flag in windows

Signed-off-by: EduPonz <[email protected]>

---------

Signed-off-by: EduPonz <[email protected]>
Co-authored-by: Eduardo Ponz Segrelles <[email protected]>
  • Loading branch information
2 people authored and achintyamohan committed Aug 5, 2024
1 parent 7035e1f commit ee175a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
windows-build-test:
runs-on: windows-2019
Expand Down
4 changes: 4 additions & 0 deletions fastdds_python/src/swig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ swig_add_library(${PROJECT_NAME}
SOURCES ${${PROJECT_NAME}_FILES}
)

if(MSVC OR MSVC_IDE)
target_compile_options(${PROJECT_NAME} PRIVATE /bigobj)
endif()

if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 8)
set_property(TARGET ${PROJECT_NAME} PROPERTY SWIG_COMPILE_DEFINITIONS SWIGWORDSIZE64)
endif()
Expand Down

0 comments on commit ee175a4

Please sign in to comment.