-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
codemeta.json
- Loading branch information
Showing
9 changed files
with
137 additions
and
49 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# use GNU Patch from any platform | ||
# | ||
# Functions | ||
# --------- | ||
# | ||
# patch_file(in_file patch_file) | ||
# Apply patch_file to in_file via GNU Patch. | ||
|
||
if(WIN32) | ||
find_package(Msys) | ||
if(MSYS_INSTALL_PATH) | ||
find_program(PATCH | ||
NAMES patch | ||
HINTS ${MSYS_INSTALL_PATH} | ||
PATH_SUFFIXES bin usr/bin | ||
) | ||
endif() | ||
|
||
if(NOT PATCH) | ||
find_program(WSL NAMES wsl) | ||
endif() | ||
else() | ||
find_program(PATCH NAMES patch) | ||
endif() | ||
|
||
|
||
function(patch_file in_file patch_file out_file) | ||
|
||
if(PATCH) | ||
execute_process(COMMAND ${PATCH} ${in_file} --input=${patch_file} --output=${out_file} | ||
TIMEOUT 15 | ||
COMMAND_ERROR_IS_FATAL ANY | ||
) | ||
elseif(WSL) | ||
execute_process(COMMAND ${WSL} wslpath ${in_file} | ||
TIMEOUT 5 | ||
OUTPUT_VARIABLE in_wsl | ||
COMMAND_ERROR_IS_FATAL ANY | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
|
||
execute_process(COMMAND ${WSL} wslpath ${patch_file} | ||
TIMEOUT 5 | ||
OUTPUT_VARIABLE patch_wsl | ||
COMMAND_ERROR_IS_FATAL ANY | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
|
||
execute_process(COMMAND ${WSL} wslpath ${out_file} | ||
TIMEOUT 5 | ||
OUTPUT_VARIABLE out_wsl | ||
COMMAND_ERROR_IS_FATAL ANY | ||
OUTPUT_STRIP_TRAILING_WHITESPACE | ||
) | ||
|
||
execute_process(COMMAND ${WSL} patch ${in_wsl} --input=${patch_wsl} --output=${out_wsl} | ||
TIMEOUT 15 | ||
COMMAND_ERROR_IS_FATAL ANY | ||
) | ||
else() | ||
message(FATAL_ERROR "Could not find patch program") | ||
endif() | ||
endfunction(patch_file) | ||
|
||
|
||
patch_file(${in_file} ${patch_file} ${out_file}) |
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,9 @@ | ||
@@ -13,7 +13,7 @@ | ||
* https://cecill.info/licences/Licence_CeCILL-C_V1-en.html) | ||
* | ||
*/ | ||
-#include "mumps_io.h" | ||
+#include "mumps_io_patched.h" | ||
#include "mumps_io_basic.h" | ||
#include "mumps_io_err.h" | ||
#include "mumps_c_types.h" |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
{ | ||
"@context": "https://doi.org/10.5063/schema/codemeta-2.0", | ||
"@type": "SoftwareSourceCode", | ||
"license": "https://spdx.org/licenses/CECILL-C.html", | ||
"codeRepository": "https://github.com/scivision/mumps", | ||
"contIntegration": "https://github.com/scivision/mumps/actions", | ||
"dateModified": "2021-11-16", | ||
"downloadUrl": "https://github.com/scivision/mumps/releases", | ||
"issueTracker": "https://github.com/scivision/mumps/issues", | ||
"name": "MUMPS", | ||
"version": "5.4.1.8", | ||
"identifier": "10.1145/3242094", | ||
"description": "MUltifrontal Massively Parallel sparse direct Solver", | ||
"applicationCategory": "linear algebra", | ||
"developmentStatus": "active", | ||
"keywords": [ | ||
"sparse direct solver" | ||
], | ||
"programmingLanguage": [ | ||
"Fortran", | ||
"C" | ||
] | ||
} |
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