Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 2cd992e

Browse files
authored
Avoid using system paths for Random123 since it's needed to be in specific subdir (#454)
Removed CI hacks for finding the proper Random123
1 parent 8914032 commit 2cd992e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/coreneuron-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ jobs:
106106
fi
107107
108108
if [[ "${{ startsWith(matrix.os, 'macOS') }}" = "true" ]]; then
109-
git submodule update --init -- external/Random123
110-
export PATH=${{runner.workspace}}/CoreNeuron/external/Random123:/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH;
109+
export PATH=/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:$PATH;
111110
export CXX=g++;
112111
export CC=gcc;
113112
fi

CMake/AddRandom123Submodule.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ find_package(FindPkgConfig QUIET)
1010
find_path(
1111
Random123_PROJ
1212
NAMES LICENSE
13-
PATHS "${CORENEURON_PROJECT_SOURCE_DIR}/external/Random123")
13+
PATHS "${CORENEURON_PROJECT_SOURCE_DIR}/external/Random123"
14+
NO_SYSTEM_ENVIRONMENT_PATH)
1415

1516
find_package_handle_standard_args(Random123 REQUIRED_VARS Random123_PROJ)
1617

0 commit comments

Comments
 (0)