-
Notifications
You must be signed in to change notification settings - Fork 9
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 CI due to recent changes in CI #17
Open
jeffin143
wants to merge
10
commits into
mlpack:master
Choose a base branch
from
jeffin143:fix-ci
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
203dd54
Try to fix ci
jeffin143 052f8bb
fix path for cereal
jeffin143 6974868
no need of R binding in CI
jeffin143 d258079
Fix ci issue
jeffin143 d05f950
Fix ci issue
jeffin143 b9fd4ca
Fix ci issue
jeffin143 22c5308
Fix ci issue
jeffin143 ed9f21d
Fix ci issue
jeffin143 f2ccce6
fix dirent install location
jeffin143 087e7ff
Fix path for cereal
jeffin143 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#Findcereal.cmake | ||
find_path(CEREAL_INCLUDE_DIR | ||
NAMES cereal | ||
PATHS "$ENV{ProgramFiles}/cereal/include" | ||
) | ||
|
||
if(CEREAL_INCLUDE_DIR) | ||
# ------------------------------------------------------------------------ | ||
# Extract version information from <CEREAL> | ||
# ------------------------------------------------------------------------ | ||
set(CEREAL_FOUND YES) | ||
set(CEREAL_VERSION_MAJOR 0) | ||
set(CEREAL_VERSION_MINOR 0) | ||
set(CEREAL_VERSION_PATCH 0) | ||
|
||
if(EXISTS "${CEREAL_INCLUDE_DIR}/cereal/version.hpp") | ||
|
||
# Read and parse cereal version header file for version number | ||
file(READ "${CEREAL_INCLUDE_DIR}/cereal/version.hpp" | ||
_CEREAL_HEADER_CONTENTS) | ||
string(REGEX REPLACE ".*#define CEREAL_VERSION_MAJOR ([0-9]+).*" "\\1" | ||
CEREAL_VERSION_MAJOR "${_CEREAL_HEADER_CONTENTS}") | ||
string(REGEX REPLACE ".*#define CEREAL_VERSION_MINOR ([0-9]+).*" "\\1" | ||
CEREAL_VERSION_MINOR "${_CEREAL_HEADER_CONTENTS}") | ||
string(REGEX REPLACE ".*#define CEREAL_VERSION_PATCH ([0-9]+).*" "\\1" | ||
CEREAL_VERSION_PATCH "${_CEREAL_HEADER_CONTENTS}") | ||
|
||
elseif(EXISTS "${CEREAL_INCLUDE_DIR}/cereal/details/polymorphic_impl_fwd.hpp") | ||
|
||
set(CEREAL_VERSION_MAJOR 1) | ||
set(CEREAL_VERSION_MINOR 2) | ||
set(CEREAL_VERSION_PATCH 0) | ||
elseif(EXISTS "${CEREAL_INCLUDE_DIR}/cereal/types/valarray.hpp") | ||
|
||
set(CEREAL_VERSION_MAJOR 1) | ||
set(CEREAL_VERSION_MINOR 1) | ||
set(CEREAL_VERSION_PATCH 2) | ||
elseif(EXISTS "${CEREAL_INCLUDE_DIR}/cereal/cereal.hpp") | ||
|
||
set(CEREAL_VERSION_MAJOR 1) | ||
set(CEREAL_VERSION_MINOR 1) | ||
set(CEREAL_VERSION_PATCH 1) | ||
else() | ||
|
||
set(CEREAL_FOUND NO) | ||
endif() | ||
set(CEREAL_VERSION_STRING "${CEREAL_VERSION_MAJOR}.${CEREAL_VERSION_MINOR}.${CEREAL_VERSION_PATCH}") | ||
endif () | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(cereal | ||
REQUIRED_VARS CEREAL_INCLUDE_DIR | ||
VERSION_VAR CEREAL_VERSION_STRING | ||
) | ||
|
||
mark_as_advanced(CEREAL_INCLUDE_DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure you are going out of the directory? The last
cd
command was for mlpack, and then you install mlpack. maybe you need to addcd ../../
and then download mlboard?I can not see any other issue other than bad path for cereal