From e1f297de5d8ab8606da90864edf5361ad2ddf323 Mon Sep 17 00:00:00 2001 From: Kevin Bogusch Date: Tue, 24 Dec 2024 16:20:30 -0500 Subject: [PATCH] Correctly identify Mac as a Mac not Linux --- week4/day4.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/week4/day4.ipynb b/week4/day4.ipynb index fe1e925..e628a50 100644 --- a/week4/day4.ipynb +++ b/week4/day4.ipynb @@ -760,7 +760,7 @@ " compile_cmd = [\"clang++\", \"-Ofast\", \"-std=c++17\", \"-march=armv8.5-a\", \"-mtune=apple-m1\", \"-mcpu=apple-m1\", \"-o\", \"simple\", \"simple.cpp\"]\n", " if run_cmd(compile_cmd):\n", " if run_cmd([\"./simple\"]) == \"Hello\":\n", - " my_compiler = [\"Linux\", \"Clang++\", [\"clang++\", \"-Ofast\", \"-std=c++17\", \"-march=armv8.5-a\", \"-mtune=apple-m1\", \"-mcpu=apple-m1\", \"-o\", f\"{filename_base}\", f\"{filename_base}.cpp\"]]\n", + " my_compiler = [\"Macintosh\", \"Clang++\", [\"clang++\", \"-Ofast\", \"-std=c++17\", \"-march=armv8.5-a\", \"-mtune=apple-m1\", \"-mcpu=apple-m1\", \"-o\", f\"{filename_base}\", f\"{filename_base}.cpp\"]]\n", " \n", " if not my_compiler:\n", " my_compiler=[my_platform, \"Unavailable\", []]\n", @@ -839,7 +839,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.11" + "version": "3.11.10" } }, "nbformat": 4,