Thomas Ferreira de Lima

Results 69 comments of Thomas Ferreira de Lima

Some useful information, specifically how `sys.executable` is derived from CPython's source code. My recommendation is to manipulate `sys.executable` within klayout's source code during startup, pointing to the correct location in...

I have asked her to try with `pip install git+https://github.com/KLayout/klayout.git`, which downloads the "master" branch version from github. The g++ build failed here: ``` src/tl/tl/tlEnv.cc:52:15: error: use of undeclared identifier...

No worries about pypi. It’s probably for the best anyway. Just to clarify that the compilation works on my computer but not on my colleague’s. We use the same macOS...

Ok so when running `g++ --version`, mine says: ``` Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.31.1) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ``` My colleague's says: ```...

I am unaware of a combination of steps that leads me to a different `g++ --version`. I wonder if one of @Kazzz-S 's virtual machines has this compiler. It appears...

I asked her for the pre defined macro list of her compiler with the command `g++ -dM -E - < /dev/null`. The result (attached below) includes `__APPLE__`. In my IDE,...

And here is mine: ``` #define _LP64 1 #define __APPLE_CC__ 6000 #define __APPLE__ 1 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_CONSUME 1 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define...

Thanks Matthias. I did not know about this functionality of the tl module. Live and learn, this software is so huge! There were a few more issues regarding default args...

Hi Matthias, I am aware of the `pyaModule.cc`, but are you comfortable duplicating that code outside as well? It would duplicate the maintaining. Another idea: what if we create the...

Hi Matthias, I made some progress in translating the types (See commit). I have a question regarding properties. How do I use the `tl.Class` mechanism to figure out whether a...