Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
760c630c
Commit
760c630c
authored
Nov 11, 2019
by
Mccaskey, Alex
Browse files
adding devel mac os x build, fixing pauli link error
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
a7ee61f7
Pipeline
#79463
failed with stage
in 4 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
760c630c
...
...
@@ -22,5 +22,14 @@ macosx build_master:
tags
:
-
osx
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
quantum/observable/pauli/CMakeLists.txt
View file @
760c630c
...
...
@@ -54,7 +54,7 @@ usFunctionEmbedResources(TARGET
manifest.json
)
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 LINK_FLAGS
"-undefined dynamic_lookup"
)
else
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment