diff --git a/BUILDING.md b/BUILDING.md index b0f338b..4b30a25 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -39,7 +39,7 @@ You may use default Git install options or chose any other default Git editor in ## 2. Install required packages 1. Run ```sudo apt-get update``` command using **Terminal** app -2. And ```sudo apt-get install git gcc g++ cmake``` +2. And ```sudo apt-get install git cmake gcc g++``` # macOS (14/15) diff --git a/libraries/mpio b/libraries/mpio index 29ae2e5..91c2281 160000 --- a/libraries/mpio +++ b/libraries/mpio @@ -1 +1 @@ -Subproject commit 29ae2e55238cc6a1b4b9289720fba22cea842839 +Subproject commit 91c228179f648220dfe217b69dcc974b06631605 diff --git a/scripts/build-debug-clang.bat b/scripts/build-debug-clang.bat deleted file mode 100644 index cf7d7c8..0000000 --- a/scripts/build-debug-clang.bat +++ /dev/null @@ -1,30 +0,0 @@ -@ECHO OFF -CD /D "%~dp0" - -cmake --version > nul - -IF NOT %ERRORLEVEL% == 0 ( - ECHO Failed to get CMake version, please check if it's installed. - EXIT /B %ERRORLEVEL% -) - -ECHO Configuring project... - -cmake -DCMAKE_BUILD_TYPE=Debug -T ClangCL -A x64 -S ../ -B ../build-debug-clang/ - -IF NOT %ERRORLEVEL% == 0 ( - ECHO Failed to configure CMake project. - EXIT /B %ERRORLEVEL% -) - -ECHO( -ECHO Building project... - -cmake --build ../build-debug-clang/ --config Debug --parallel - -IF NOT %ERRORLEVEL% == 0 ( - ECHO Failed to build CMake project. - EXIT /B %ERRORLEVEL% -) - -EXIT /B 0 \ No newline at end of file diff --git a/scripts/build-debug-clang.sh b/scripts/build-debug-clang.sh deleted file mode 100644 index 4daf913..0000000 --- a/scripts/build-debug-clang.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -cd "$(dirname "$BASH_SOURCE")" - -cmake --version > /dev/null -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to get CMake version, please check if it's installed." - exit $status -fi - -echo "Configuring project..." - -if [[ "$OSTYPE" == "msys" ]]; then - cmake -DCMAKE_BUILD_TYPE=Debug -T ClangCL -A x64 -S ../ -B ../build-debug-clang/ -elif [[ "$OSTYPE" == "darwin"* ]]; then - cmake -DCMAKE_BUILD_TYPE=Debug -S ../ -B ../build-debug-clang/ -else - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -S ../ -B ../build-debug-clang/ -fi - -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to configure CMake project." - exit $status -fi - -echo "" -echo "Building project..." - -cmake --build ../build-debug-clang/ --config Debug --parallel -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to build CMake project." - exit $status -fi - -if [[ "$OSTYPE" == "darwin"* ]]; then - echo "" - echo "Fixing up macOS bundle..." - - cmake --install ../build-debug-clang/ --component FixupBundle - status=$? - - if [ $status -ne 0 ]; then - echo "Failed to fix up macOS bundle." - exit $status - fi -fi - -exit 0 \ No newline at end of file diff --git a/scripts/build-release-clang.bat b/scripts/build-release-clang.bat deleted file mode 100644 index 4d4a6bc..0000000 --- a/scripts/build-release-clang.bat +++ /dev/null @@ -1,30 +0,0 @@ -@ECHO OFF -CD /D "%~dp0" - -cmake --version > nul - -IF NOT %ERRORLEVEL% == 0 ( - ECHO Failed to get CMake version, please check if it's installed. - EXIT /B %ERRORLEVEL% -) - -ECHO Configuring project... - -cmake -DCMAKE_BUILD_TYPE=Release -T ClangCL -A x64 -S ../ -B ../build-release-clang/ - -IF NOT %ERRORLEVEL% == 0 ( - ECHO Failed to configure CMake project. - EXIT /B %ERRORLEVEL% -) - -ECHO( -ECHO Building project... - -cmake --build ../build-release-clang/ --config Release --parallel - -IF NOT %ERRORLEVEL% == 0 ( - ECHO Failed to build CMake project. - EXIT /B %ERRORLEVEL% -) - -EXIT /B 0 \ No newline at end of file diff --git a/scripts/build-release-clang.sh b/scripts/build-release-clang.sh deleted file mode 100644 index d5f299b..0000000 --- a/scripts/build-release-clang.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -cd "$(dirname "$BASH_SOURCE")" - -cmake --version > /dev/null -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to get CMake version, please check if it's installed." - exit $status -fi - -echo "Configuring project..." - -if [[ "$OSTYPE" == "msys" ]]; then - cmake -DCMAKE_BUILD_TYPE=Release -T ClangCL -A x64 -S ../ -B ../build-release-clang/ -elif [[ "$OSTYPE" == "darwin"* ]]; then - cmake -DCMAKE_BUILD_TYPE=Release -S ../ -B ../build-release-clang/ -else - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/usr/bin/clang-cpp -S ../ -B ../build-release-clang/ -fi - -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to configure CMake project." - exit $status -fi - -echo "" -echo "Building project..." - -cmake --build ../build-release-clang/ --config Release --parallel -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to build CMake project." - exit $status -fi - -if [[ "$OSTYPE" == "darwin"* ]]; then - echo "" - echo "Fixing up macOS bundle..." - - cmake --install ../build-release-clang/ --component FixupBundle - status=$? - - if [ $status -ne 0 ]; then - echo "Failed to fix up macOS bundle." - exit $status - fi -fi - -exit 0 \ No newline at end of file diff --git a/scripts/configure-xcode.sh b/scripts/configure-xcode.sh deleted file mode 100644 index ea9c659..0000000 --- a/scripts/configure-xcode.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -cd "$(dirname "$BASH_SOURCE")" - -cmake --version > /dev/null -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to get CMake version, please check if it's installed." - exit $status -fi - -echo "Configuring project..." - -cmake -G Xcode -DCMAKE_BUILD_TYPE=Debug -S ../ -B ../build-xcode/ -status=$? - -if [ $status -ne 0 ]; then - echo "Failed to configure CMake project." - exit $status -fi - -exit 0 \ No newline at end of file