summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_environment b/setup_environment
index f20118e..94f313f 100644
--- a/setup_environment
+++ b/setup_environment
@@ -16,7 +16,7 @@ if [ ! -d "$CUDA_INSTALL_PATH" ]; then
return;
fi
-if [ ! `uname` = "Linux" ]; then
+if [ ! `uname` = "Linux" -a ! `uname` = "Darwin" ]; then
echo "ERROR ** Unsupported platform: GPGPU-Sim $GPGPUSIM_VERSION_STRING developed and tested on Linux."
return;
fi