use absolute path
authorKonstantinos Margaritis <konstantinos.margaritis@vectorcamp.gr>
Sun, 12 Mar 2023 10:43:46 +0000 (10:43 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:16 +0000 (19:51 +0100)
media/pypowersim_wrapper/pypowersim_wrapper_common.h

index 9a50d35a1a194a31dcc33d4b0ffd81fbe115733b..e32c1eb595eff148eef0c89ac10c591d00b79479 100644 (file)
@@ -40,7 +40,7 @@ static pypowersim_state_t *pypowersim_prepare(void) {
       Py_Initialize();
 
       PyObject* sysPath = PySys_GetObject((char*)"path");
-      PyObject* curDir = PyUnicode_FromString("../../../src/openpower/decoder/isa/");
+      PyObject* curDir = PyUnicode_FromString("/home/markos/src/openpower-isa/src/openpower/decoder/isa/");
       PyList_Append(sysPath, curDir);
       Py_DECREF(curDir);