Commit 760c630c authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

adding devel mac os x build, fixing pauli link error


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent a7ee61f7
Pipeline #79463 failed with stage
in 4 minutes and 47 seconds
...@@ -22,5 +22,14 @@ macosx build_master: ...@@ -22,5 +22,14 @@ macosx build_master:
tags: tags:
- osx - osx
script: script:
- mkdir build && cd build && cmake .. -DXACC_BUILD_TESTS=TRUE && make -j$(sysctl -n hw.physicalcpu) install && ctest --output-on-failure - mkdir build && cd build && cmake .. -DXACC_BUILD_TESTS=TRUE && make -j12 install && ctest --output-on-failure && rm -rf ~/.xacc
macosx build_devel:
stage: build
only:
- devel
tags:
- osx
script:
- git checkout devel && mkdir build && cd build && cmake .. -DXACC_BUILD_TESTS=TRUE && make -j12 install && ctest --output-on-failure && rm -rf ~/.xacc
...@@ -54,7 +54,7 @@ usFunctionEmbedResources(TARGET ...@@ -54,7 +54,7 @@ usFunctionEmbedResources(TARGET
manifest.json) manifest.json)
if(APPLE) if(APPLE)
target_link_libraries(${LIBRARY_NAME} PUBLIC xacc PRIVATE ${CMAKE_SOURCE_DIR}/dist/libantlr4-runtime.dylib) target_link_libraries(${LIBRARY_NAME} PUBLIC xacc ${CMAKE_SOURCE_DIR}/dist/libantlr4-runtime.dylib)
set_target_properties(${LIBRARY_NAME} PROPERTIES INSTALL_RPATH "@loader_path") set_target_properties(${LIBRARY_NAME} PROPERTIES INSTALL_RPATH "@loader_path")
set_target_properties(${LIBRARY_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup") set_target_properties(${LIBRARY_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
else() else()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment