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

Fix condition #46

Merged
merged 1 commit into from
Nov 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipe/activate-clang++.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ else
fi
}

if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" -ne "@TARGET_PLATFORM@" ]; then
if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" != "@TARGET_PLATFORM@" ]; then
echo "Not activating environment because this compiler is not expected."
else
activate_clangxx
Expand Down
2 changes: 1 addition & 1 deletion recipe/activate-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ else
fi
}

if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" -ne "@TARGET_PLATFORM@" ]; then
if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" != "@TARGET_PLATFORM@" ]; then
echo "Not activating environment because this compiler is not expected."
else
activate_clang
Expand Down
2 changes: 1 addition & 1 deletion recipe/deactivate-clang++.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ else
fi
}

if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" -ne "@TARGET_PLATFORM@" ]; then
if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" != "@TARGET_PLATFORM@" ]; then
echo "Not deactivating environment because this compiler is not expected."
else
deactivate_clangxx
Expand Down
2 changes: 1 addition & 1 deletion recipe/deactivate-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ else
fi
}

if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" -ne "@TARGET_PLATFORM@" ]; then
if [ "${CONDA_BUILD_STATE:-0}" = "BUILD" ] && [ "${target_platform:-@TARGET_PLATFORM@}" != "@TARGET_PLATFORM@" ]; then
echo "Not deactivating environment because this compiler is not expected."
else
deactivate_clang
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:

build:
skip: true # [win]
number: 6
number: 7

requirements:
build:
Expand Down